NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #507 most downloaded on crates.io
Pure Rust RSA implementation
Latest stable
0.10.0
Last release 13 days ago
08 Nov 2026
Release timing varies
gaps range from 8 days to 5 months
Some releases are documented
notes for 17 of 30 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
69 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Rename RsaPrivateKey and RsaPublicKey to PrivateKey and PublicKey , retaining the old names as deprecated aliases
num-bigint-dig with crypto-bigint for constant-timeDebug output (#480)draft-irtf-cfrg-rsa-guidancePrecomputedValues (#716)id-RSASSA-PSS algorithmpss::VerifyingKey::salt_len and opt-in automatic salt-lengthnew_with_auto_salt_len (#448, #546)PublicKeyParts::n_bytes and e_bytes serialization helpers (#519)Clone and core::error::Error implementations for Error (#530,PrivateKey::as_public_key accessor (#592)PrivateKey and PublicKeyPrivateKey::from_components_with_large_exponent, gated on hazmatcargo checkct/BINSEC (#732,PrivateKey::from_components_with_wide_primes for unbalancedTryFrom<BitStringRef<'_>> for PKCS#1 v1.5 and PSS signaturescrypto_common::Generate implementation and Generate re-export forBigUint in the public API with BoxedUint; returnNonZero<BoxedUint> for the modulus and Odd<BoxedUint> for primecrypto-primes for prime generation (#394)serdect; extend serde support to OAEP, PKCS#1 v1.5, and PSSencodingstd no longer implicitly enables encoding dependenciesPublicKey::new_with_size_limits andhazmat-gated unchecked key generation (#576, #760)pkcs1 to v0.8; pkcs8 to v0.11; spki to v0.8; serdect toOaep and Pss generic over their digest types instead of usingDynDigest (#593)rand_core to v0.10, crypto-common to v0.2, digest to v0.11,signature to v3 (#650, #671, #693)crypto-bigint to v0.7.10 and crypto-primes to v0.7 (#673,sha1 and sha2 to v0.11 (#683)getrandom by default and use the system RNG for blinding inSignature::from_bytes_with_max_len for explicit limits (#767)pkcs1v15 feature for PKCS#1 v1.5 encryption andTryCryptoRng and propagate RNG failuresRsaPrivateKey and RsaPublicKey to PrivateKey andPublicKey, retaining the old names as deprecated aliases (#781)pss::BlindedSigningKey in favor of pss::SigningKey, which nowPublicKey::new_with_max_size in favor ofPublicKey::new_with_size_limits (#760)nightly and u64_digit features associated with num-bigint-digPkcs1v15Sign::new_raw and pkcs1v15 *_with_prefixpem feature; PEM support is included with encodingsha2 feature; SHA-2 support is now always enabled (#749)SigningKey::from and VerifyingKey::from now use thenew (#472, #498)AlgorithmIdentifier encoder instead of truncating them (#704)Your coding agent can read these notes before it upgrades. Set up the MCP server →
v0.10.0-rc.22
v0.10.0-rc.22 (#785)
v0.10.0-rc.21
v0.10.0-rc.21 (#775)
This release includes quite a bit of constant-time hardening including the initial implementation of PKCS#1v1.5 implicit rejection.
This release includes quite a bit of constant-time hardening including
the initial implementation of PKCS#1v1.5 implicit rejection.
See #711 for the remaining constant-time issues which are blocking a
final v0.10.0 release.
Compatible with pkcs1 v0.8.0-rc.5
Compatible with pkcs1 v0.8.0-rc.5
Includes updates for pkcs8 v0.11
Includes updates for pkcs8 v0.11
v0.10.0-rc.17
v0.10.0-rc.17 (#674)
Compatibility update for breaking changes in crypto-bigint
Compatibility update for breaking changes in crypto-bigint
rsa v0.10.0-rc.15
rsa v0.10.0-rc.15 (#651)
Includes rand_core v0.10.0-rc-6 upgrade with (Try)RngCore => (Try)Rng rename
Includes rand_core v0.10.0-rc-6 upgrade with (Try)RngCore =>
(Try)Rng rename
v0.10.0-rc.13
v0.10.0-rc.13 (#635)
v0.10.0-rc.12
v0.10.0-rc.12 (#629)
v0.10.0-rc.11
v0.10.0-rc.11 (#622)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
do not panic on a prime being 1 when loading a secret key ([#624])
Support for cryptographic operations with larger keys ([#594])
Doc comments to specify the rand version ([#473])
rand version (#473)Always validate keys in RsaPrivateKey::from_components ([#459])
expose a pss::get_default_pss_signature_algo_id helper ([#393])
Adds RsaPrivateKey::from_primes and RsaPrivateKey::from_p_q methods ([#386])
RsaPrivateKey::from_primes and RsaPrivateKey::from_p_q methods (#386)Deterministic implementation of prime factors recovery ([#380])
PKCS#8/SPKI decoding trait impls for pkcs1v15 keys ([#346])
pkcs1v15: have fmt impls call SignatureEncoding::to_bytes ([#330])
fmt impls call SignatureEncoding::to_bytes (#330)Left pad signatures when encoding ([#325])
Function to get salt length from RSA PSS keys ([#277])
AssociatedAlgorithmIdentifier implementation (#278)pss::BlindedSigningKey (#295)Signer for pss::SigningKey (#297)core::hash::Hash for RsaPrivateKey (#308)ZeroizeOnDrop for RsaPrivateKey, SigningKey, DecryptingKey (#311)u64_digit feature; on-by-default (#313)AsRef<RsaPublicKey> impl on RsaPrivateKey (#317)serde (#268)pkcs1 to v0.7, pkcs8 to v0.10; MSRV 1.65 (#270)*_with_prefix methods (#290)
SigningKey::new => SigningKey::new_unprefixedSigningKey::new_with_prefix => SigningKey::newVerifyingKey::new => VerifyingKey::new_unprefixedVerifyingKey::new_with_prefix => VerifyingKey::newPkcs1v15Sign::new_raw to Pkcs1v15Sign::new_unprefixed (#293)salt_len when verifying PSS signatures (#294)CRTValue => CrtValue (#314)padding module now located under traits module (#315)PublicKeyParts/PrivateKeyParts now located under traits module (#315)EncryptionPrimitive/DescriptionPrimitive traits (#300)PublicKey/PrivateKey traits (#300)Zeroize impl on RsaPrivateKey; automatically zeroized on drop (#311)Deref<Target=RsaPublicKey> impl on RsaPrivateKey; use AsRef instead (#317)expose-internals feature and public access to all functions it gated ([#304])Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Encryption-related traits ([#259])
sha2 feature with oid subfeature enabled ([#255])
sha2 feature with oid subfeature enabled (#255)Bump signature crate dependency to v2 ([#217], [#249])
Nothing published for this version
Nothing published for this version
Public accessor methods for PrecomputedValues ([#221])
Documentation improvements ([#216])
NOTE: when computing signatures with this release, make sure to enable the oid crate feature of the digest crate you are using when computing the sign
NOTE: when computing signatures with this release, make sure to enable the
oid crate feature of the digest crate you are using when computing the
signature (e.g. sha2, sha3). If the oid feature doesn't exist, make sure
you're using the latest versions.
pkcs1v15 and pss modules with SigningKey/VerifyingKey types
(#174, #195, #202, #207, #208)RsaPublicKey size (#176)RsaPublicKey::new_with_max_size (#176)RsaPublicKey::new_unchecked (#206)pkcs1 to 0.4 (#162)pkcs8 to 0.9 (#162)RsaPrivateKey::from_components is now fallible (#167)AssociatedOid for getting the RSA prefix (#183)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.