encodeHmac static method
Creates an base 64 encoded hmac from a key
that usually is the derived
key, keylen
, challenge
and hmacLength
.
Implementation
static String encodeHmac(Uint8List key, int keylen, List<int> challenge,
{hmacLength = 64}) {
return base64
.encode(encodeByteHmac(key, keylen, challenge, hmacLength: hmacLength));
}