Refactor all random samplers to use `Distribution`
- Dominant language
- Rust
- Stars
- 772
- Forks
- 352
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 93
Description
Agreed, we have to refactor all random samplers to use `Distribution`-s. This is done in some places but not consistently.
_Originally posted by @Al-Kindi-0 in https://github.com/0xMiden/crypto/pull/720#discussion_r2635009578_
Leftover from 0xMiden/crypto#720
---
**Clarified scope** ([context](https://github.com/0xMiden/crypto/pull/753#issuecomment-3717821401)): this is about test helpers, not key generation.
In scope:
- Messages to sign
- Polynomials (Falcon)
- Plaintexts for encryption
Out of scope:
- SecretKey/Nonce generation for DSA, AEAD, ECDH modules
Original thread: [PR 0xMiden/crypto#720 comment](https://github.com/0xMiden/crypto/pull/720#discussion_r2634577006)
Contributor guide
Assessment
This issue has not been assessed yet.