Bug: 249344603

Clone this repo:
  1. 5d3e5dc Make libpkcs1_nostd visible for //packages/modules/Virtualization by Alice Wang · 14 days ago main master
  2. 12db417 Migrate to cargo_embargo. by Andrew Walbran · 3 weeks ago
  3. 9fd1eba Use dep-suffixes rather than dependency_suffix. by Andrew Walbran · 4 weeks ago
  4. 8d953ff Adding autogenerated Trusty makefile rules by Per Larsen · 5 months ago
  5. fc8029a Add baremetal _nostd variant am: 9581b421cc by David Drysdale · 9 weeks ago

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.