hashAlgorithm property Null safety

Hash hashAlgorithm

Implementation

Hash get hashAlgorithm => _hashAlgorithm;
void hashAlgorithm=(Hash algorithm)

Implementation

set hashAlgorithm(Hash algorithm) {
  _hashAlgorithm = algorithm;
  _blockSize = _hashAlgorithm.convert([1, 2, 3]).bytes.length;
}