Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
7.4::
Crypto

Method Crypto.crypt_md5()


Method crypt_md5

string Crypto.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.