Method Nettle.AEAD()->State()->digest()
- Method digest
 string(8bit)digest(int|voidlength)- Description
 Generates a digest, and resets the AEAD contents.
Also updates the iv/nonce (if any).
- Parameter 
length If the length argument is provided, the digest is truncated to the given length.
- Returns
 The digest.