Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Algorithm behind MD5Crypt

I'm working with Subversion based on Windows and would like to write an easy utility in .NET for working with the Apache password file. I understand that it uses a function referred to as MD5Crypt, but I can't seem to find a description of the algorithm beyond that at some point it uses MD5 to create a hash.

Can someone describe the MD5Crypt algorithm and password line format?

like image 250
Lee Avatar asked Jun 24 '26 22:06

Lee


1 Answers

A precise textual description of the crypt algorithm updated for use with sha256 and sha512 is at http://www.akkadia.org/drepper/SHA-crypt.txt

It includes contrasts with the MD5 algorithm, so it should give you what you're looking for.

like image 120
nealmcb Avatar answered Jun 27 '26 13:06

nealmcb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!