Expand description
§REX Crypto
This module contains cryptographic utilities, used by REX module
Functions§
- apply_
ctr - Applies CTR (Counter) mode encryption/decryption in parallel.
- generate_
key - Generates a symmetric WHY2 key using secure system entropy.
- generate_
key_ deterministic - Generates a deterministic key vector using a ChaCha20-based DRNG.
- generate_
nonce - Generates a random nonce for CTR mode.
- generate_
round_ keys - Derives a sequence of round keys from a master Grid using a deterministic CSPRNG stream.
- sha256_
seed_ grid - Computes a SHA-256 hash of the Grid contents to produce a deterministic seed.