Postgres module

salted_password

procedure · 1 overloadsince 0.27.0Source

PBKDF2 of the password, taken from the cache when it was computed before.

salted_password :: (password: string, salt: string, iterations: s64) -> [32] u8

PBKDF2 of the password, taken from the cache when it was computed before.

Parameters

password: string
the password, already prepared.
salt: string
the decoded salt from the server.
iterations: s64
the PBKDF2 iteration count from the server.

Returns

[32] u8

See also