Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
7.4::
Crypto

Method Crypto.crypt_md5()


Method crypt_md5

string crypt_md5(string pw, void|string salt)

Description

From Pike 7.5 pw and salt are binary strings, so the result is different if any of these includes "\0".

The return type is also changed from string to int|string. If the second argument is a hash, pw will be hashed with the salt from the hash and compared with the hash.