pub fn sm3(password: &[u8], username: &str) -> String
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.