Function postgres_protocol::password::scram_sha_256
source · pub fn scram_sha_256(password: &[u8]) -> String
Expand description
Hash password using SCRAM-SHA-256 with a randomly-generated salt.
The client may assume the returned string doesn’t contain any special characters that would require escaping in an SQL command.