Hmac constructor Null safety

Hmac(
  1. BlockHash hash,
  2. List<int> key
)

Implementation

Hmac(this.hash, List<int> key) {
  blockSize = hash.blockSize ~/ 8;
  outSize = hash.outSize;
  _init(List<int>.from(key));
}