HKDFKeyDerivator constructor

HKDFKeyDerivator(
  1. Digest digest
)

Implementation

HKDFKeyDerivator(Digest digest) {
  ArgumentError.checkNotNull(digest);

  _hMac = HMac(digest, _getBlockLengthFromDigest(digest.algorithmName));
  _hashLen = _hMac.macSize;
}