Method Crypto.MD5.crypt_hash_apr1()


Method crypt_hash_apr1

string(7bit) crypt_hash_apr1(string(8bit) password, string(7bit) salt, int(0..)|void rounds)

Description

This is an implementation of the Apache password hashing algorithm typically denoted as "apr1".

Parameter password

Password to hash.

Parameter salt

8 bytes of salt.

Parameter round

Number of algorithm rounds. Default: 1000.

See also

Nettle.Hash()->crypt_hash(), crypt_md5(), https://fr.wikipedia.org/wiki/APR1