Expand description
A generic (cross hash) digest, which is always 256 bits and composed of 8 words
Macros§
- Macro for constructing a Digest from a hex string.
- Macro for converting sequence of string literals containing hex-encoded data into an array of bytes.
Structs§
- Digest represents the results of a hashing function. It is always 256 bits of storage although depending on the hash it may have additional structure (for example Poseidon’s output is actually composed of field elements). The storage is in u32’s in part to simplify alignment requirements, especially in the zkVM.