A java implementation of crypt can be found at:
http://locutus.kingwoodcable.com/jfd/crypt.html
Alternatives are to use MD5 or similar from the
java encryption api (I think most jvms provide an
implementation of the major algorithms). However,
if you need to access the password from both
java and other languages (eg c) then crypt() is
probably the easiest solution.
Cheers,
Simon
> -----Original Message-----
> From: Deepak C S [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, January 08, 2001 9:35 AM
> To: '[EMAIL PROTECTED]'
> Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
> Subject: Password encryption in Java
>
>
> Hi,
>
> Can anybody tell about" How we can encrypt Passwords in Java??"say
> like Perl's or Unix Crypt function??
>
> i mean,
>
> Is there any Java equivalent of unix crypt() func??
>
> thanx in advance,
> Deeps
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]