pub fn generate_key_deterministic<const W: usize, const H: usize>(
rng: &mut ChaCha20Rng,
) -> Zeroizing<Vec<i64>>Expand description
Generates a deterministic key vector using a ChaCha20-based DRNG.
This function produces a Vec<i64> of length $2 \times W \times H$ by sampling from
the provided ChaCha20 random number generator. Each value is derived from a
u64 output and cast to i64.
§Parameters
rng: A mutable reference to a seededChaCha20Rnginstance.
§Returns
A vector of signed 64-bit integers representing raw key material.
§Notes
- The output is deterministic for a given RNG seed.