finish method
Finalizes the hash computation and stores the hash state in the provided out.
Parameters:
out: In which the hash digest is stored.
Implementation
@override
HMAC finish(List<int> out) {
if (_finished) {
_outer.finish(out);
return this;
}
_inner.finish(out);
_outer.update(out.sublist(0, getDigestLength)).finish(out);
_finished = true;
return this;
}