Expand description
§yedad_ladder
Optimized core implementation of the Yedad ladder hash algorithm.
This library provides structures and methods for generating a hierarchical hash ladder from a private key, producing verifiable proofs, and securely advancing through ladder steps. It is suitable for deterministic key derivation, proof generation, and lightweight cryptographic operations.
Structs§
- Account
- Represents an account with ladder state derived from a private key.
- Slot
- Represents a single ladder slot, maintaining current state.
- Yedad
- Core Yedad ladder structure holding the master seed.
Enums§
- Yedad
Error - Errors that can occur in Yedad ladder operations.
Constants§
- DEFAULT_
LADDER_ HEIGHT - Default ladder height (number of steps)
- HASH_
SIZE - Hash size in bytes (32 bytes for SHA-256)
- MASTER_
SEED_ ROUNDS - Number of rounds used for Master Seed generation
- ROOT_
GENERATION_ ROUNDS - Number of rounds used for root generation
Functions§
- double_
hash - Public double hash in the step domain.
Type Aliases§
- Hash
- Type alias for a 32-byte SHA-256 hash