Function postgres_protocol_sm3::password::sm3
source · pub fn sm3(password: &[u8], username: &str) -> String
Expand description
Hash password using SM3 with the username as the salt.
The client may assume the returned string doesn’t contain any special characters that would require escaping.