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