`const fn` hashing
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- cryptography
Direzione di ricerca
Iniziate esaminando la famiglia di trait Digest e le restrizioni di Rust per const fn, che l’issue identifica come il principale ostacolo. Non vengono indicati file di implementazione, test o criteri di accettazione concreti; per prima cosa sarebbe necessario concordare un approccio e definire cosa dovrebbe supportare l’hashing di Shake256 a tempo di compilazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Rust
- Stelle
- 2.3k
- Fork
- 341
- Merge medio
- 12h 31m
- PR unite (30g)
- 2
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di RustCrypto/hashes
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
RustCrypto/hashes#912 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
RustCrypto/hashes#909 · 4 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
RustCrypto/hashes#908 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
RustCrypto/hashes#763 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
RustCrypto/hashes#747 · 1 commento ·
Tutte le issue di RustCrypto/hashes
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
TheLarkInn/aipm#2413 ·
-
documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
alexgorbatchev/simple-ptt#15 ·
-
tooling
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
todo:ticket
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
taikoxyz/taiko-mono#22168 · 1 commento ·