Function postgres_protocol_sm3::authentication::sm3_hash

source ยท
pub fn sm3_hash(username: &[u8], password: &[u8], salt: [u8; 4]) -> String
Expand description

Hashes authentication information in a way suitable for use in response to an AuthenticationSm3Password message.

The resulting string should be sent back to the database in a PasswordMessage message.