Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java based password encryption for linux password

843810Oct 7 2004 — edited Oct 7 2004
Dear 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 4 2004
Added on Oct 7 2004
1 comment
236 views