Skip to content

Commit

Permalink
fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
Its-Just-Nans committed Feb 11, 2025
1 parent 07a3c20 commit d18a829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ A portable RSA implementation in pure Rust.
```rust
use rsa::{Pkcs1v15Encrypt, RsaPrivateKey, RsaPublicKey};

let mut rng = rand::thread_rng(); // [email protected].0
let mut rng = rand::thread_rng(); // [email protected]
let bits = 2048;
let priv_key = RsaPrivateKey::new(&mut rng, bits).expect("failed to generate a key");
let pub_key = RsaPublicKey::from(&priv_key);
Expand Down

0 comments on commit d18a829

Please sign in to comment.