RustCrypto / hashes

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

k12: fix incorrect hash calculation #499

Closed danielreisinger closed 1 year ago

danielreisinger commented 1 year ago

If the length of the merged input string is a multiple of the chunk size, then the previous implementation appends a chaining value for an empty chunk.

tarcieri commented 1 year ago

Thank you!