finish method
Finalizes the hash computation and stores the hash state in the provided List<int> dst.
Parameters:
dst: In which the hash digest is stored.
Implementation
@override
SHA3 finish(List<int> dst) {
if (!_finished) {
_padAndPermute(0x06);
} else {
// Only works for up to blockSize digests,
// which is the case in our implementation.
_pos = 0;
}
_squeeze(dst);
return this;
}