Extracted from Pike v8.0 release 28 as of 2015-08-03.
   

Method __builtin.Nettle.__Hash()->State()->digest()


Method digest

string digest(int|void length)

Description

Generates a digests, and resets the hashing contents.

Parameter length

If the length argument is provided, the digest is truncated to the given length.

Returns

The digest.