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


Method P_hash

string(8bit) P_hash(string(8bit) password, string(8bit) 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.