Method Nettle.SHA3_256()->shake()
- Method
shake
string(8bit)
shake(string(8bit)
in
,int(0..)
bytes
)- Description
SHAKE-256 hash.
Works as a (faster) shortcut for
SHA3_256.State()->update(in)->shake(bytes)
.This function is similar to hash(), but can return an arbitrary number of bytes. When
bytes
is digest_size the security is equivalent to that of hash(), albeit the output is different.- See also