traits
traits copied to clipboard
Collection of cryptography-related traits
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.7.2 to 1.8.0. Release notes Sourced from bytes's releases. Bytes 1.8.0 1.8.0 (October 21, 2024) Guarantee address in split_off/split_to for empty slices (#740) Changelog Sourced from bytes's...
The `async-signature` crate existed so it could evolve at a more rapid pace than `signature`. Now that AFIT is stable and `async-signature` is largely "complete", we can consider merging it...
Migrated from PR #1663 for discussion. @tarcieri -- following on from where we left off: I've been ruminating on the issue since my last message yesterday. As @newpavlov [proposed](https://github.com/RustCrypto/traits/pull/1663#issuecomment-2339972548), I've...
We currently require an explicit nonce for all encryption APIs, including ones which automatically encode the nonce as part of the AEAD message. For some AEADs we can use purely...
I see that the `to_sec1_der()` method currently specifies **EcParameters::NamedCurve** as **Option::None**. [In the protocol](https://www.secg.org/sec1-v2.pdf)(sec1#114), I see that this field is optional. Can I set it to the correct value or...
In `ScalarPrimitive`, [this line](https://github.com/RustCrypto/traits/blob/f1ae691906681e7399db5a4088c24b4a44faa712/elliptic-curve/src/scalar/primitive.rs#L400) should use `base16ct::mixed`
I tried bumping this repo to `rand_core` v0.9.0-alpha.2 and ran into the following problem: This release gets rid of `CryptoRngCore` and instead changes [`CryptoRng` to have `RngCore` as a supertrait](https://docs.rs/rand_core/0.9.0-alpha.2/rand_core/trait.CryptoRng.html)....
Hi there, Myself and @wiktor-k have been using rustcrypto for sometime, and I especially would like to see the facade crate developed further. A place holder exists here: https://crates.io/crates/rustcrypto Currently...
Thanks a lot for the great libraries! Apologies if this has already been asked---I looked briefly and didn't see anything. It looks like in release builds it's quite easy to...