stream method
The stream method is used for generating a stream of pseudorandom bytes from the SHAKE (Secure Hash Algorithm KEccak) hash function. Parameters:
dst: To store the generated pseudorandom bytes.
This method is especially useful for producing variable-length output streams, which is a key feature of SHAKE.
Implementation
void stream(List<int> dst) {
if (!_finished) {
_padAndPermute(0x1f);
}
_squeeze(dst);
}