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

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

Download history 80124/week @ 2022-10-07 78555/week @ 2022-10-14 80233/week @ 2022-10-21 81966/week @ 2022-10-28 82455/week @ 2022-11-04 80081/week @ 2022-11-11 71296/week @ 2022-11-18 74659/week @ 2022-11-25 76994/week @ 2022-12-02 73093/week @ 2022-12-09 74429/week @ 2022-12-16 38276/week @ 2022-12-23 61199/week @ 2022-12-30 84591/week @ 2023-01-06 78896/week @ 2023-01-13 83623/week @ 2023-01-20

316,361 downloads per month
Used in 352 crates (6 directly)

Apache-2.0 OR MIT

595KB
13K 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.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.

Dependencies