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

version» Context lines:

pike.git/lib/modules/Crypto.pmod/Password.pmod:351:    if (!rounds) rounds = default_rounds;       // NB: The salt must be printable.    string(7bit) salt =    MIME.encode_base64(Crypto.Random.random_string(salt_size))[..salt_size-1];       string(8bit) hash = crypt_hash(password, salt, rounds);       return render_hash([string(7bit)]scheme, salt, hash, rounds);   } -  +