#hashing #hash #digest #jh #digest-algorithm #crypto

no-std jh-x86_64

Portable JH with optimizations for x86-64 cpus

7 releases

0.3.1 Jul 30, 2024
0.2.2 Feb 1, 2019
0.2.1 Jan 29, 2019
0.2.0 Oct 20, 2018
0.1.0 Dec 3, 2017

#1763 in Cryptography

31 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

1MB
3.5K SLoC

Cryptocorrosion

Cryptographic algorithms in pure Rust.

The main interface to these crates is the RustCrypto traits.

All crates are no-std compatible.

Minimum Rust version: 1.61.0

Supported algorithms

Cryptographic hashes

Algo Crate name SIMD
Blake blake-hash [1]
Grøstl groestl-aesni ✔️
JH jh-x86_64 ✔️
Skein skein-hash

[1] SIMD is available for builds with target-cpu/target-feature configured, but runtime CPU detection is not yet supported.

Block ciphers

Algo Crate name SIMD
Threefish threefish-cipher

Stream ciphers

Algo Crate name SIMD
ChaCha c2-chacha ✔️

License

All crates licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

Portable JH with optimizations for x86-64

Dependencies

~1.2–2.1MB
~40K SLoC