# Method __builtin.Nettle.Hash()->crypt_hash_pike()

Method crypt_hash_pike

  ``string(7bit)` crypt_hash_pike(`string(8bit)` `password`, `string(8bit)` `salt`, `int(0..)` `rounds`)`

Description

  Password hashing function in `crypt_md5()`-style.

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

  This function is provided for compatibility with hashes generated by Pike 8.0.1876 and earlier.

  It differs from crypt_hash() for passwords that have a length that is a power of 2 (phase 11).

Note

  Do not use unless you know what you are doing!

See also

  `crypt_md5()`, crypt_hash()