---
title: "rsa 0.10.0 Breaking Changes on crates.io | Since.dev"
description: "What each rsa release removed, renamed or changed: 123 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/rsa
last_updated: 2026-12-04
---

# rsa breaking changes

rsa 0.10.0 (November 8, 2026) is its newest release with breaking changes, 123 of them. The first: Removed nightly. Every breaking API change we have recorded in rsa on crates.io: 123 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.10.0`, released November 8, 2026. [Source repository](https://github.com/RustCrypto/RSA)

Its 0.10.0 release requires [Rust 1.87](https://since.dev/calendar/rust/1.87.md) or later. [Rust end of life dates](https://since.dev/calendar/rust.md).

## rsa 0.10.0 breaking changes

rsa 0.10.0, released November 8, 2026: 123 breaking changes.

- **Removed** `nightly`  

The nightly feature associated with num-bigint-dig was removed, so builds that enable it will fail. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)
- **Removed** `pem`  

PEM support is now included with the encoding feature; builds enabling pem alone must enable encoding instead. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)
- **Removed** `Pkcs1v15Sign.new_raw`  

The previously deprecated constructor was removed; code calling it must change. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)
- **Removed** `rsa::BigUint`  

rsa::BigUint was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::pkcs1v15::Pkcs1v15Sign::new_raw`  

Use Pkcs1v15Sign::new_unprefixed instead. [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::pkcs1v15::SigningKey::new_with_prefix`  

Use SigningKey::new instead. [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::pkcs1v15::SigningKey::random_with_prefix`  

Use SigningKey::random instead. [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::pkcs1v15::VerifyingKey::new_with_prefix`  

Use VerifyingKey::new instead. [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::Pkcs1v15Sign::new_raw`  

Use Pkcs1v15Sign::new_unprefixed instead. [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::pss::BlindedSigningKey::new`  

rsa::pss::BlindedSigningKey::new was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::pss::BlindedSigningKey::new_with_salt_len`  

rsa::pss::BlindedSigningKey::new_with_salt_len was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::pss::BlindedSigningKey::random`  

rsa::pss::BlindedSigningKey::random was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::pss::BlindedSigningKey::random_with_salt_len`  

rsa::pss::BlindedSigningKey::random_with_salt_len was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::pss::BlindedSigningKey::salt_len`  

rsa::pss::BlindedSigningKey::salt_len was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPrivateKey::clear_precomputed`  

rsa::RsaPrivateKey::clear_precomputed was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPrivateKey::crt_coefficient`  

rsa::RsaPrivateKey::crt_coefficient was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPrivateKey::decrypt`  

rsa::RsaPrivateKey::decrypt was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPrivateKey::decrypt_blinded`  

rsa::RsaPrivateKey::decrypt_blinded was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPrivateKey::from_components`  

rsa::RsaPrivateKey::from_components was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPrivateKey::from_p_q`  

rsa::RsaPrivateKey::from_p_q was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPrivateKey::from_primes`  

rsa::RsaPrivateKey::from_primes was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPrivateKey::new`  

rsa::RsaPrivateKey::new was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPrivateKey::new_with_exp`  

rsa::RsaPrivateKey::new_with_exp was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPrivateKey::precompute`  

rsa::RsaPrivateKey::precompute was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPrivateKey::sign`  

rsa::RsaPrivateKey::sign was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPrivateKey::sign_with_rng`  

rsa::RsaPrivateKey::sign_with_rng was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPrivateKey::to_public_key`  

rsa::RsaPrivateKey::to_public_key was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPrivateKey::validate`  

rsa::RsaPrivateKey::validate was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPublicKey::encrypt`  

rsa::RsaPublicKey::encrypt was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPublicKey::MAX_PUB_EXPONENT`  

rsa::RsaPublicKey::MAX_PUB_EXPONENT was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPublicKey::MAX_SIZE`  

rsa::RsaPublicKey::MAX_SIZE was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPublicKey::MIN_PUB_EXPONENT`  

rsa::RsaPublicKey::MIN_PUB_EXPONENT was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPublicKey::new`  

rsa::RsaPublicKey::new was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPublicKey::new_unchecked`  

rsa::RsaPublicKey::new_unchecked was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPublicKey::new_with_max_size`  

Use PublicKey::new_with_size_limits instead. [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `rsa::RsaPublicKey::verify`  

rsa::RsaPublicKey::verify was removed in rsa 0.10.0 [crates.io](https://crates.io/crates/rsa/0.10.0)
- **Removed** `sha2`  

SHA-2 support is now always enabled, so the sha2 feature no longer exists. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)
- **Removed** `u64_digit`  

The u64_digit feature associated with num-bigint-dig was removed, so builds that enable it will fail. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)
- **Renamed** `RsaPrivateKey`  

The type was renamed; the old name remains as a deprecated alias, so switch to PrivateKey. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)
- **Renamed** `RsaPublicKey`  

The type was renamed; the old name remains as a deprecated alias, so switch to PublicKey. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)
- **Behavior changed**  

Signatures now keep their encoded width as byte strings, which can change their stored form and length. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)
- **Behavior changed**  

Blinding in default decryption and signing paths now uses getrandom by default. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)
- **Behavior changed**  

Signatures longer than 1024 bytes are rejected by default; use Signature::from_bytes_with_max_len for larger limits. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)
- **Behavior changed**  

Building the crate now requires Rust 1.87 or later and uses the Rust 2024 edition. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)
- **Behavior changed**  

Unbalanced two-prime keys are now rejected by ordinary constructors; use from_components_with_wide_primes for them. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)
- **Behavior changed**  

Key generation and default public-key construction or decoding now reject keys smaller than 1024 bits. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)
- **Behavior changed**  

Keys with factors at most one, even or repeated factors, or private exponents at or above the modulus are now rejected. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)
- **Behavior changed**  

Invalid padding now returns deterministic synthetic plaintext instead of a padding error, so callers no longer get an error for bad padding. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)
- **Behavior changed**  

Debug output no longer shows private-key components, so code depending on that output will change. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)
- **Default changed**  

The default maximum modulus size is now 8192 bits, changing which keys are accepted by default. [github.com](https://github.com/RustCrypto/RSA/blob/v0.10.0/CHANGELOG.md)

And 73 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
