`const fn` hashing
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- rust
- 領域
- cryptography
調査の方向性
まず、Issueが主な障害として挙げているDigestファミリーのtraitとRustのconst fnに関する制限を確認してください。実装ファイル、テスト、具体的な受け入れ基準は示されていないため、まずは合意されたアプローチと、コンパイル時のShake256ハッシュが何をサポートすべきかの定義が必要になります。
索引モデルが issue の本文から書いたものです。
説明
Hi!
I'm using Shake256 in a setting where all input data is known at compile-time, a case where the hash value could be computed at compile-time too.
I've been using tiny-keccak before (I'm not sure why anymore, exactly), and I started toying with it to support const fn hashing. I've bounced on some hurdles, which is why I made that issue.
This week I realized I could probably start the same discussion here: how painful would const fn-hashing be to implement? I feel like it would probably not work due to the Digest family of traits (trait fns cannot be const afaik), but I'd nevertheless would want to discuss!
Best regards,
Ruben
- 主要言語
- Rust
- スター
- 2.3k
- フォーク
- 341
- 平均マージ
- 12時間 31分
- マージ済み PR(30日)
- 2
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RustCrypto/hashes のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
RustCrypto/hashes#912 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
RustCrypto/hashes#909 · コメント 4 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
RustCrypto/hashes#908 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
RustCrypto/hashes#763 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
RustCrypto/hashes#747 · コメント 1 件 ·
RustCrypto/hashes の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
TheLarkInn/aipm#2413 ·
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
alexgorbatchev/simple-ptt#15 ·
-
tooling
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
todo:ticket
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
taikoxyz/taiko-mono#22168 · コメント 1 件 ·