12 releases
Uses new Rust 2021
0.4.1 | Oct 10, 2022 |
---|---|
0.4.0 | May 8, 2022 |
0.3.3 | Jan 16, 2022 |
0.3.1 | Nov 29, 2021 |
0.0.0 | Jun 12, 2020 |
#1041 in Cryptography
316,361 downloads per month
Used in 352 crates
(6 directly)
595KB
13K
SLoC
RustCrypto: PKCS#1 (RSA)
Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.2 (RFC 8017).
About
This crate supports encoding and decoding RSA private and public keys in either PKCS#1 DER (binary) or PEM (text) formats.
PEM encoded RSA private keys begin with:
-----BEGIN RSA PRIVATE KEY-----
PEM encoded RSA public keys begin with:
-----BEGIN RSA PUBLIC KEY-----
Minimum Supported Rust Version
This crate requires Rust 1.57 at a minimum.
We may change the MSRV in the future, but it will be accompanied by a minor version bump.
License
Licensed under either of:
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.