string digest(int|void length)
Generates a digests, and resets the hashing contents.
If the length argument is provided, the digest is truncated to the given length.
The digest.