Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linux password encryption

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
What is the exact and complete algorithm used by linux to encrypt it's user's password that are stored in /etc/shadow file.

Encrypted password is of length 34 bytes and it takes a salt of 8 chars.

Is there any java/ C++ implementation of such an algorithm.
 
Hi,

Why not rtfs (read the fine source) ? For example --> ftp://ftp.redhat.com/pub/redhat/linux/7.2/en/os/i386/SRPMS/pwdb-0.61.1-3.src.rpm .

(Theres actually an implementation of the md5 algorithm in there if you look hard enough.)

Regards

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top