Postgres module

md5_secret

procedure · 1 overloadsince 0.27.0Source

The MD5 secret for a password and a role name: md5 and the hash of the two joined.

md5_secret :: (password: string, user: string) -> string

The MD5 secret for a password and a role name: md5 and the hash of the two joined.

Parameters

password: string
the plain password.
user: string
the role name.

Returns

string

See also