0xMiden / 0xMiden/miden-vm

Refactor all random samplers to use `Distribution`

未关闭
#3,503 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
tests
主要语言
Rust
星标
772
派生
352
平均合并
1 天 12 小时
30 天内合并 PR
93

描述

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)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。