Can you convert the output of php crypt() to valid MD5?

后端 未结 5 1688
天涯浪人
天涯浪人 2020-12-28 23:48

I have some strings that have been encrypted using the PHP function crypt().

The outputs look something like this:

$1$Vf/.4.1.$CgCo33ebiHVuFhpwS.kMI0         


        
5条回答
  •  情深已故
    2020-12-29 00:07

    I believe the answer to my original question is no, you can't convert from one format to the other.

    The hashes generated by php crypt() appear to be generate by a version of the FreeBSD MD5 hash implementation created by Poul-Henning Kamp.

    http://people.freebsd.org/~phk/

提交回复
热议问题