public digestInfo(text as String = null) as Digest throws CryptoException:
Hashes the buffered text and returns a structured digest view.
The internal buffer is cleared after the digest is produced.
| Parameter | Description |
|---|---|
text | Optional final UTF-8 chunk. |
Structured digest result.
import klyn.cryptography
md = SHA256()
digest = md.digestInfo("hello")
print(digest.hex)