Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`const fn` hashing

オープン
#288 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RustCrypto/hashes のほかの issue

RustCrypto/hashes の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。