pkcs1 (0.7.5)
Published 2026-03-26 11:01:34 +00:00 by siennathesane
Installation
[registry]
default = "gitea"
[registries.gitea]
index = "sparse+ " # Sparse index
# index = " " # Git
[net]
git-fetch-with-cli = truecargo add pkcs1@0.7.5About this package
Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1:
RSA Cryptography Specifications Version 2.2 (RFC 8017)
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.65 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
| ID | Version |
|---|---|
| der | ^0.7 |
| pkcs8 | ^0.10 |
| spki | ^0.7 |
| const-oid | ^0.9 |
| hex-literal | ^0.4 |
| tempfile | ^3 |
Keywords
crypto
key
pem
pkcs
rsa