Java based password encryption for linux password
843810Oct 7 2004 — edited Oct 7 2004Dear All...
Iam using JNDI calls to store user data in LDAP. Now i want to authenticate users with LINUX m/c. so i need to encrypt password before storing in LDAP.
Is there any java implementation around for the password encryption, the way linux does. Encrypted password is of length 34 bytes and uses MD5. Has any one some idea to implement such an algorithm.
Encrypted password look like:
$1$7RhT4hhG$K3fEau5Tn..uEJUq8tjEn/
Information needed,,, awaiting for your reply...
Regards
kiran