Expand description
Const SHA-256 implementation used for Hopper-owned discriminators.
Structs§
- Const
Sha256 - Incremental SHA-256 state that can be evaluated at compile time.
Functions§
- sha256
- Compute SHA-256(data) at compile time.
- sha256_
concat - Compute SHA-256(left || right) at compile time without allocating.
- sha256_
prefix8 - Compute SHA-256(left || right)[0..8].