#crypto #key #pem #pkcs #rsa

no-std pkcs1

Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.2 (RFC 8017)

5 unstable releases

new 0.2.4 Sep 14, 2021
0.2.3 Jul 26, 2021
0.1.1 Jul 24, 2021
0.0.0 Jun 12, 2020

#666 in Cryptography

Download history 1/week @ 2021-06-08 1/week @ 2021-07-06 220/week @ 2021-07-20 1020/week @ 2021-07-27 2855/week @ 2021-08-03 6755/week @ 2021-08-10 9932/week @ 2021-08-17 9965/week @ 2021-08-24 10848/week @ 2021-08-31 10651/week @ 2021-09-07

17,987 downloads per month
Used in 21 crates (2 directly)

Apache-2.0 OR MIT

5MB
4K SLoC

RustCrypto: PKCS#1 (RSA)

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.2 (RFC 8017).

Documentation

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-----

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.

Dependencies