hkdfExtract function
Implementation
Uint8List hkdfExtract({required Uint8List ikm, required Uint8List salt}) {
var hmacSha256 = crypto.Hmac(crypto.sha256, salt);
var prk = hmacSha256.convert(ikm).bytes;
return Uint8List.fromList(prk);
}
Uint8List hkdfExtract({required Uint8List ikm, required Uint8List salt}) {
var hmacSha256 = crypto.Hmac(crypto.sha256, salt);
var prk = hmacSha256.convert(ikm).bytes;
return Uint8List.fromList(prk);
}