Pike v8.1 release 6

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


Method digest

string(8bit) digest()

Description

Returns the data integrity value.

When decoding this value should be compared to the original IV used when encoding.

When encoding the convention is to prepend this value to the encoded data returned by crypt().

Note

The above convention is the reverse of the convention for most AEADs (where the digest typically comes last).

See also

set_iv(), DEFAULT_IV