rust-crypto icon indicating copy to clipboard operation
rust-crypto copied to clipboard

A (mostly) pure-Rust implementation of various cryptographic algorithms.

Results 103 rust-crypto issues
Sort by recently updated
recently updated
newest added

So, I like crypto that's hard(-er, there's still nonce related foot+gun oportunities) to misuse. djb et al's NaCl library provides nifty `crypto_box`/`crypto_secretbox` for doing authenticated encryption with a secret key/public...

It looks like AesGcm::new is [hard-coded](https://github.com/DaGenix/rust-crypto/blob/master/src/aes_gcm.rs#L24) to assert nonce.len() == 12, but I need to inter-operate with other software that uses a 16 byte nonce. I tried simply removing the...

Compare to [the `ad` parameter in *ring*](https://briansmith.org/rustdoc/ring/aead/fn.seal_in_place.html).

Hello, this is not the best platform for this discussion but I had no idea how to contact you otherwise. I am a developer with an interest in cryptography and...

Hi and thank you for writing this extraordinary crate! ## Summary When using a short seed as input to the function `keypair` of ed25519, signature and verification invariants are violated....

The spec is https://tools.ietf.org/html/rfc7539. BoringSSL, Nettle, _ring_, and libsodium all implement it. Note that BoringSSL, _ring_, and libsodium also implement the old construction. Differences: - The counter||nonce split is 32-bits||96-bits...

I noticed this because https://github.com/uutils/coreutils uses this library for its `hashsum` tool that is replacing `md5sum` from GNU coreutils. When I calculate the md5sum of a large file using `hashsum`...

Adds a definition of rust_crypto_util_fixed_time_eq_asm for ARMv8. It's exactly the same as for ARMv7, except that it uses ARMv8 names for registers (wN instead of rN). [Fixes #383]