Extracted from Pike v8.0 release 276 as of 2016-07-30.
   

Method __builtin.Nettle.Hash()->P_hash()


Method P_hash

string P_hash(string password, string salt, int rounds, int bytes)

Description

This is the Password-Based Key Derivation Function used in TLS.

Parameter password

The prf secret.

Parameter salt

The prf seed.

Parameter rounds

Ignored.

Parameter bytes

The number of bytes to generate.