RustCrypto / RSA

RSA implementation in pure Rust
Apache License 2.0
536 stars 148 forks source link

Updating README example #276

Closed Ricardicus closed 1 year ago

Ricardicus commented 1 year ago

I wanted to test this crate using the example in the readme, but it failed, so here in an updated README so that it builds. I also included the README example among the doctests, so that it keeps up in the future.

I did find updated documentation on https://docs.rs/rsa/latest/rsa/ so it seems just this file has been out of date.