traits icon indicating copy to clipboard operation
traits copied to clipboard

Collection of cryptography-related traits

Results 99 traits issues
Sort by recently updated
recently updated
newest added

For hash functions that operate on bit level, exposing a bit-level update function would be nice. E.g. The SHA-256 hash of the single bit input of `0` is `bd4f9e98beb68c6ead3243b1b4c7fed75fa4feaab1f84795cbd8a98676a2a375`.

enhancement
digest

Context: https://github.com/RustCrypto/nacl-compat/pull/27 Several of our crates have `serde` integrations, and it'd be nice to expand that. One thing that'd be really nice to have is some common functionality for for...

Several crates in this repo could benefit from having `async` equivalents. There are several use cases for `async`, such as communicating with network services which implement a particular cryptographic primitive...

signature
cipher

I have encountered a problem in which I need to re-encrypt data. I wonder if we could add some kind of API which would allow "in-flight" re-encryption, i.e. we would...

aead
cipher

This is a request for the `aes` crate specifically, but ideally it would work for any `BlockCipher`. AES-SIV is a bit unique in that it prepends the authentication tag, rather...

cipher

I have been recently [writing about password hashing in Rust](https://www.lpalmieri.com/posts/password-authentication-in-rust/) and `password-hash` has been a great building block. There is one use-case, though, that I haven't quite figured out yet...

I can pass a hasher where I need a `Write`, and I'll get the digest of the written bytes. I can also have a reader and `std::io::copy` into the hasher...

digest

I was trying to make my newtype of `SecretKey` zeroize properly, and realized I can't even trigger zeroization for `SecretKey` itself. Consider the code: ```rust use k256::SecretKey; use rand_core::OsRng; fn...

`elliptic-curve` v0.10 will now require [`crypto-bigint`](https://docs.rs/crypto-bigint) as a mandatory dependency, with a `Curve::UInt` type being how the modulus size of a particular curve's fields are determined, and how a `Curve::ORDER`...

In https://github.com/RustCrypto/stream-ciphers/pull/244 and https://github.com/RustCrypto/stream-ciphers/pull/245 we encountered the problem of the blobby test vectors being opaque. As serendipity would have it two people opened PRs because they thought test vectors were...