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

9 unstable releases (3 breaking)

Uses new Rust 2021

new 0.3.3 Jan 16, 2022
0.3.2 Jan 16, 2022
0.3.1 Nov 29, 2021
0.2.4 Sep 14, 2021
0.0.0 Jun 12, 2020

#707 in Cryptography

Download history 16045/week @ 2021-09-27 17825/week @ 2021-10-04 16617/week @ 2021-10-11 18321/week @ 2021-10-18 18515/week @ 2021-10-25 17112/week @ 2021-11-01 19273/week @ 2021-11-08 24610/week @ 2021-11-15 24366/week @ 2021-11-22 26301/week @ 2021-11-29 32345/week @ 2021-12-06 30022/week @ 2021-12-13 19757/week @ 2021-12-20 16345/week @ 2021-12-27 28472/week @ 2022-01-03 35712/week @ 2022-01-10

101,161 downloads per month
Used in 108 crates (via rsa)

Apache-2.0 OR MIT

265KB
6K 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-----

Minimum Supported Rust Version

This crate requires Rust 1.56 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.

Dependencies

~455KB
~11K SLoC