hashes
hashes copied to clipboard
Collection of cryptographic hash functions written in pure Rust
Implements the Tiger Tree Hash algorithm as mentioned [here](https://github.com/RustCrypto/hashes/issues/1#issuecomment-774126287). I'm a rust newbie, so implementation (and general Rust) advice is welcome. The digest crate doesn't seem to be happy with...
This PR implements md5 using inline assembly, which has the benefit of compiling and running on MSVC targets. This serves as a demo to a path to address #315, https://github.com/RustCrypto/asm-hashes/issues/45,...
Use the new function `new_customized` from https://github.com/RustCrypto/traits/pull/1334 in CSHAKE tests
I'm looking at doing a third implementation of sha256 for x86 targeting the x86-64-v3 ISA level (AVX, AVX2, but no AVX512 and no SHA-NI, i.e. Haswell), because the pure-rust soft...
As of Rust 1.76, the SHA-256 NEON intrinsics are stable, but the SHA-512 ones are not. See tracking issue here: https://github.com/rust-lang/rust/issues/117225 We currently use `asm!` for both algorithms to "emulate"...
This is a tracking issue for the next set of breaking releases which are currently under development on the master branch: - [ ] `ascon-hash` v0.3 - [ ] `belt-hash`...
This implements `AlgorithmIdentifier` according to [RFC5754 section 2] [RFC5754 section 2]: https://www.rfc-editor.org/rfc/rfc5754#section-2 Depends on https://github.com/RustCrypto/traits/pull/1575
Closes #257
Did this to exercise my Rust. Any interest having it in the main repo?
It looks like due to an oversight the `ubc_check` module is not used. Calling the `Builder::use_ubc` has no effect on hash computation. This results in [CI failures](https://github.com/RustCrypto/hashes/actions/runs/9539622113/job/26290188165). cc @dignifiedquire