RustCrypto / hashes

Collection of cryptographic hash functions written in pure Rust
1.9k stars 256 forks source link

ascon-hash: Add Zeroize feature #480

Closed aewag closed 1 year ago

aewag commented 1 year ago

Not zeroizing the state allows to recover any squeezed output. This is because the ascon permutations can be inversed. Hence, access to the complete state allows to perform this operation.

This relies on https://github.com/RustCrypto/sponges/pull/57 and a new release of the ascon crate.