RustCrypto/RSA ↗
Created Dec 23, 2020 · View the RustCrypto/RSA repository page
RSA implementation in pure Rust
Want this for your repo?
Render a free sample of any GitHub repo in seconds.
Contributors
19
Lines of Code
294
From
Jul 17, 2018
To
Dec 2, 2020
About RustCrypto/RSA
RustCrypto RSA is a pure Rust implementation of the RSA public-key cryptosystem. It provides core functionality for prime generation, key generation and import/export, along with support for multiple encryption and signing standards including PKCS1v1.5, OAEP (Optimal Asymmetric Encryption Padding), and PSS (Probabilistic Signature Scheme).
The project is currently in Phase 1 of its development roadmap, focusing on getting core functionality working. It has completed implementations for basic RSA operations but still needs optimization work and security hardening before reaching version 1.0. The crate received a security audit from Include Security, though notably there is a known vulnerability to the Marvin Attack that could enable private key recovery in network scenarios, which the maintainers are actively working to address.
The library targets developers building cryptographic applications in Rust and requires Rust 1.85 or higher. It is distributed under dual Apache 2.0 and MIT licenses, making it suitable for both open-source and commercial projects. The project is part of the larger RustCrypto organization and maintains an active community for support and discussion.