pike.git / lib / modules / Crypto.pmod / Password.pmod

version» Context lines:

pike.git/lib/modules/Crypto.pmod/Password.pmod:255:   //!   //! @note   //! Note that the availability of @[SHA512] depends on the version   //! of @[Nettle] that Pike has been compiled with.   //!   //! @note   //! This function was added in Pike 7.8.755.   //!   //! @seealso   //! @[verify()], @[predef::crypt()], @[Nettle.crypt_md5()], - //! @[Nettle.HashInfo()->crypt_hash()] + //! @[Nettle.Hash()->crypt_hash()]   string(0..127) hash(string password, string|void scheme, int|void rounds)   {    function(string, string, int:string(0..255)) crypt_hash;    int salt_size = 16;    int default_rounds = 5000;       string(0..127) render_crypt_hash(string(0..127) scheme, string(0..127) salt,    string(0..255) hash, int rounds)    {    if (rounds != default_rounds) {