Larry Rogers wrote:
>
> Thanks Mike. But devapp.pdf only mentions a UnixCryptPassword. It doesn't tell
> anything about how to use the UnixCrypt package provided by Allaire. But you've
> guessed exactly what I need to encrypt!
>
> Can anyone help?
>
It looks like a pretty simple class, judging by the api...
Have you tried using
String encrypted = UnixCrypt.crypt("password");
and then on retrieval
if( UnixCrypt.matches(encrypted, "password"))
{
<authentication OK>
}
etc.
Alternatively you can use the algorithms that come with the JDK to roll
your own one-way encryption function.
Luke.
--
Luke Taylor.
PGP Key ID: 0x57E9523C
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.