RSA
RSA copied to clipboard
RSA implementation in pure Rust
I need to frequently generate RSA keys in bulk. I am using the following Rust code to generate a key: ```rust let rsa_key = rsa::RsaPrivateKey::new(&mut rand::thread_rng(), 2048).unwrap(); ``` Running this...
I'm having interoperability problems when encrypting a small payload with a RSA public key and decrypting it with a RSA private key. The encryption is made using this library and...
## Please implement the recommended traits for the enum PaddingScheme. Clone is missing from `PaddingScheme`. Please fix this. While copy may not be possible due to problems when copying RngCore--namely...
Rabin-Williams signatures are RSA-like signatures with extreme verifier speed optimizations, but enough overlap with RSA exists that maybe Rabin-Williams should be done inside this repository? Thoughts? Afaik, we've no off...
I want to embed keys directly into the binary, already-imported and ready to go, but since (in my specific case) `RsaPublicKey::from_public_key_pem` is not a `const fn`, I can't call it...
What got me looking into this was the somewhat slow key generation and the related issue #29. A solution or rather, improvement would be to implement SIMD, [*Single Instruction Multiple...
I hope that I can encrypt words with public key, but I find there isnt the scheme of no_padding.
Prompted by https://github.com/RustCrypto/signatures/issues/25#issuecomment-525248346 and my desire to get #18 and #26 merged :smile: The main design difference compared to the current traits is that instead of making the "padding scheme"...
Right now, there is a PR open (#22) that will allow the RSA crate to be used in core+alloc environments (e.g. environments without libstd, but where a dynamic allocator is...
The `check_public` function nominally checks "that the public key is well formed and has an exponent within acceptable bounds." https://github.com/RustCrypto/RSA/blob/master/src/key.rs#L642 But it also accepts even exponents, as long as they...