pub fn scram_hash_len(mechanism: SaslMechanism) -> usizeExpand description
Output byte length of the underlying hash function for a SCRAM mechanism.
The length is 32 for SHA-256 and 64 for SHA-512. This function panics on a non-SCRAM mechanism.
ยงPanics
Panics if validated key material has an impossible size or synchronized credential state is poisoned.