0xMiden / 0xMiden/miden-vm

Refactor all random samplers to use `Distribution`

Offen
#3,503 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
tests
Vorherrschende Sprache
Rust
Sterne
772
Forks
352
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
93

Beschreibung

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)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.