Function mysql_common::scramble::scramble_sha256
source · pub fn scramble_sha256(nonce: &[u8], password: &[u8]) -> Option<[u8; 32]>
Expand description
Scramble algorithm used in cached_sha2_password fast path.
XOR(SHA256(password), SHA256(SHA256(SHA256(password)), nonce))