Pike v8.1 release 6

Method Nettle.BlockCipher16()->CCM.State()->digest()


Method digest

string(8bit) digest(int(4..16)|void bytes)

Description

Returns the CBC-MAC digest of the specified size.

Parameter bytes

Size in bytes for the desired digest. Any even number in the range [4..16]. If not specified the value from calling digest_size() will be used.

Note

Note that the digest length is folded into the digest, so it doesn't simply imply a truncation.

See also

digest_size(), global::digest_size()