Function mysql_common::scramble::scramble_native
source ยท pub fn scramble_native(nonce: &[u8], password: &[u8]) -> Option<[u8; 20]>
Expand description
Scramble algorithm used in mysql_native_password.
SHA1(password) XOR SHA1(nonce, SHA1(SHA1(password)))