Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
method SCRAM.hi
import { SCRAM } from "https://deno.land/x/kafkasaur@v0.0.7/src/broker/saslAuthenticator/scram.ts";

Hi() is, essentially, PBKDF2 [RFC2898] with HMAC() as the pseudorandom function (PRF) and with dkLen == output length of HMAC() == output length of H()

Parameters

password: HASH_DATA
salt: HASH_DATA
iterations: number
digestDefinition: DigestDefinition