hashes
hashes copied to clipboard
Collection of cryptographic hash functions written in pure Rust
Adds an implementation for the HAS-160 hashing algorithm. Relevant Issue with discussion on this: #1 References: 1. [Random bit blog post](https://www.randombit.net/has160.html) 2. [Original Spec sheet](https://web.archive.org/web/20230603174348/https://www.tta.or.kr/include/Download.jsp?filename=stnfile/TTA-0072.pdf) PS This proposal for this...
This implement KT256 as specified in [RFC 9861](https://www.rfc-editor.org/rfc/rfc9861.html) for the `k12` crate. Also, rename existing types (`KangarooTwelve*`) to `Kt128*` (e.g. `KangarooTwelveReader` to `Kt128Reader`). This is because the KangarooTwelve instance is...
Hi, Would it be in scope to expose the compression function for blake2? The usecase I have in mind is to replace this particular function: https://github.com/bluealloy/revm/blob/b8396776a9d53e1553c0396c96a14b461cda17ce/crates/precompile/src/blake2.rs#L55
1. I am not sure to assert in block_api 2. I am not sure in `new` and `new_with_empty_header` functions.
#718 I took a conservative approach here and kept the same in-memory representation as the original (now `soft`) backend. This results in an extra two `vpermb`s (`_mm512_permutexvar_epi8`) per call to...
This PR introduces an implementation of Blake2X – inspired from, but greatly extends on #677. This contributes to #1. | Category | Lines | |-----------------------|--------| | **Test Vector Files** |...
Last year, I wrote an [AVX512/GFNI implementation](https://github.com/robbie01/groestl-gfni) of the "short" core for Groestl. (Ignore the "long" core code in g512.rs, it doesn't work correctly last I checked). Now that these...