Postgres module

prepare_password

procedure · 1 overloadsince 0.27.0Source

The password as SCRAM uses it: SASLprep (saslprep.jai), or its own bytes when that cannot be done, like libpq.

prepare_password :: (password: string) -> string

The password as SCRAM uses it: SASLprep (saslprep.jai), or its own bytes when that cannot be done, like libpq.

Parameters

password: string
the password as the user gave it.

Returns

string

See also