hashes icon indicating copy to clipboard operation
hashes copied to clipboard

Collection of cryptographic hash functions written in pure Rust

Results 44 hashes issues
Sort by recently updated
recently updated
newest added

I'm compiling the crate on a `riscv32im-unknown-none-elf`. On a release build with `opt-level = 3` and `lto = fat`, the `sha2::sha256::soft::compress` function looks like this: riscv32-none-elf-objdump -Cd ``` 8000219c :...

performance

The k12 crate had its own keccak-p permutation implementation. With https://github.com/RustCrypto/sponges/pull/7 a generic keccak-p implementation would be available, which could be used within the k12 crate. Depends on - [...

A way to serialize state of the `Sm3` hash function was requested in #304. Do we want to implement the `serde` traits for hash functions (behind an optional feature)? It...

enhancement

Not sure if this is a feature request or a question... I was previously using the `blake2-rfc` crate and now I want to migrate to the `blake2` crate. However previously...

Integrates original sources from these crates, which provide AVX2-accelerated SIMD backends: https://github.com/oconnor663/blake2_simd Taken from this commit: - Hash: 7bf791e67245bb84132d1ee0e6a893bb8c85c093 - Author: Jack O'Connor - Date: Fri Nov 13 15:50:16 2020...

There are a number of issues and comments floating around about this, so I thought I'd make a single tracking issue for this. Right now we have a separate [asm-hashes](https://github.com/RustCrypto/asm-hashes/)...

performance

Currently we only have software and SHA-NI backends for SHA-256.

enhancement
performance

See `vsm3*` intrinsics gated on `neon` and `sm4` target features.

help wanted
performance

List of "would be nice to have" hash functions: - [ ] [BLAKE](https://131002.net/blake/) #46 - [x] [cSHAKE](http://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-185.pdf) - [ ] ParallelHash - [x] [FSB](https://www.rocq.inria.fr/secret/CBCrypto/index.php?pg=fsb) #256 - [x] Grøstl #10 -...

enhancement
help wanted

I have ~150kb of code for `blake2::blake2b::VarBlake2b::compress` under `-Copt-level=z`, which is around 3x larger than any other function in my binary. It would be nice if it were smaller. Looking...