Function postgres_protocol::password::md5
source · pub fn md5(password: &[u8], username: &str) -> String
Expand description
Not recommended, as MD5 is not considered to be secure.
Hash password using MD5 with the username as the salt.
The client may assume the returned string doesn’t contain any special characters that would require escaping.