Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Hashes

Class-only Hash. One-shot digests.

ConstantUse
Hash.md5Non-cryptographic checksum — cheap object / cache keys only
Hash.sha256Default content-id / integrity hash
// ( bytes:ByteList|String algo:s -- digest:ByteList )
"abc" Hash.sha256 Hash.hash^ Hex.encode^   // ba7816bf8f01cfea...
blob Hash.md5 Hash.hash^                   // 16-byte checksum

Input: ByteList preferred, or String as UTF-8 bytes. Output: ByteList digest; use Hex / Base64 for text.