Create a new deterministic RNG from a 32-byte seed.
StaticnewCreate a new deterministic RNG from a seed string. The string is hashed with SHA256 to produce the seed. Matches Rust new_with_seed function.
Generate deterministic random data. Matches Rust deterministic_random_data method.
Each call increments the salt and uses HKDF to derive the requested number of bytes.
Clone the RNG state.
Deterministic random number generator. Matches Rust DeterministicRandomNumberGenerator struct.
Uses HKDF-HMAC-SHA256 to generate deterministic random data from a seed, with an incrementing salt for each call.