pike.hubbe.net

[Top]
Crypto
previousCrypto.randomness.pike_random()->read() Crypto.des_parity()next

Method Crypto.crypt_md5()


Method crypt_md5

string Crypto.crypt_md5(string password)
string Crypto.crypt_md5(string password, string salt)

Description

This function crypts a password with an algorithm based on MD5 hashing.

If salt is left out, an 8 character long salt (max length) will be randomized.

Verification can be done by supplying the crypted password as salt: crypt_md5(typed_pw, crypted_pw) == crypted_pw

See also

crypt


Extracted from Pike v7.3 release 11 at 2001-11-03.