PBKDF2 as SCRAM's Hi(str, salt, i): the salted-password derivation.
Hi(str, salt, i)
Exposed for byte-exact known-answer tests against the RFC 5802 vectors.
The UTF-8 password bytes.
The salt bytes (already base64-decoded).
The iteration count.
The underlying hash ('SHA-1' or 'SHA-256').
'SHA-1'
'SHA-256'
The salted password (20 bytes for SHA-1, 32 for SHA-256).
1.0.4
PBKDF2 as SCRAM's
Hi(str, salt, i): the salted-password derivation.Exposed for byte-exact known-answer tests against the RFC 5802 vectors.