blake2b: unusable in XOF fashion.
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
Non è identificato alcun punto di ingresso per file o test. Inizia esaminando l’API attuale della crate blake2 e i contratti pertinenti di Rust Rng e XOF, quindi determina il comportamento previsto per un output di lunghezza arbitraria e come dovrebbe essere convalidato. Il lavoro è completo quando il caso d’uso richiesto in stile XOF dispone di un’API e di test concordati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I might be missing something but with the latest blake2 crate I am unable to use it in XOF fashion.
Here's my use case: input some data to blake2 input, then read from it arbitrary number of bytes. This is valid use case to implement drbg from blake2 with "seed" which is also arbitrarily long. Of course I can work that around by hashing input to the size of some pseudo-rng (like ChaCha8Rng) but as far as I understand the contract for Rng is not to keep always the same output for the same seed (e.g. with the crate version change). I use quite extensively this functionality as many crypto protocols use keyed pseudo random functions and XOF was pretty straightforward way to implement it, and it would be nice to have this in blake2b implemented.
Please advise.
- 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à 3/5 1-2 giorni Idoneità per principianti 35/100
RustCrypto/hashes#747 · 1 commento ·
-
performance
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
RustCrypto/hashes#718 · 2 commenti ·
Tutte le issue di RustCrypto/hashes
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
bug core
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW Apertafuzz
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ClickHouse/ClickHouse#122114 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
linebender/vello_svg#90 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100