HKDFKeyDerivator constructor
HKDFKeyDerivator(
- Digest digest
Implementation
HKDFKeyDerivator(Digest digest) {
ArgumentError.checkNotNull(digest);
_hMac = HMac(digest, _getBlockLengthFromDigest(digest.algorithmName));
_hashLen = _hMac.macSize;
}