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

Method Nettle.HashInfo()->crypt_hash()


Method crypt_hash

string crypt_hash(string password, string salt, int rounds)

Description

Password hashing function in crypt_md5() -style.

Implements the algorithm described in http://www.akkadia.org/drepper/SHA-crypt.txt.

This is the algorithm used by crypt(2) in methods $5$ (SHA256) and $6$ (SHA512).

See also

crypt_md5()