Function postgres_protocol::password::scram_sha_256 [−][src]
pub fn scram_sha_256(password: &[u8]) -> String
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.