RustCrypto / hashes

Collection of cryptographic hash functions written in pure Rust
1.81k stars 245 forks source link

Fix an off-by-one error in the docs for sha2 #467

Closed carols10cents closed 1 year ago

carols10cents commented 1 year ago

👋🏻 Just a little drive-by docs fix!

There are six total, and the docs mentioned "first two" and "last three" = 5.

This appears to have been introduced in 75298d3, and based on the text in this spot that was removed in that commit, this should read "last four" instead.

tarcieri commented 1 year ago

Thank you!