0xMiden / 0xMiden/miden-vm

Refactor all random samplers to use `Distribution`

Đang mở
#3,503 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
tests
Ngôn ngữ chính
Rust
Star
772
Fork
352
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
93

Mô tả

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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.