
rsatool
A Python utility that calculates RSA cryptographic parameters and generates OpenSSL-compatible private keys from prime numbers or modulus/exponent pairs.

rsatool
A Python utility that calculates RSA cryptographic parameters and generates OpenSSL-compatible private keys from prime numbers or modulus/exponent pairs.
rsatool Description
rsatool is a Python-based utility that calculates RSA cryptographic parameters including p, q, n, d, e values and RSA-CRT parameters (dP, dQ, qInv). The tool accepts input in two formats: either two prime numbers (p, q) or a modulus and private exponent (n, d). It then computes the remaining RSA parameters needed for cryptographic operations. Key features include: - Calculation of standard RSA parameters (p, q, n, d, e) - Generation of RSA-CRT parameters (dP, dQ, qInv) - Display of calculated parameters in readable format - Export functionality for OpenSSL-compatible private keys - Support for both DER and PEM encoding formats - Command-line interface for easy integration The tool requires Python 3.7 or higher and depends on the pyasn1 and gmpy2 libraries for ASN.1 encoding and mathematical operations respectively. Output can be saved to files in industry-standard formats, making it compatible with OpenSSL and other cryptographic tools that work with RSA private keys.
FEATURED
Password manager with end-to-end encryption and identity protection features
VPN service providing encrypted internet connections and privacy protection
Fractional CISO services for B2B companies to accelerate sales and compliance
Stay Updated with Mandos Brief
Get the latest cybersecurity updates in your inbox
TRENDING CATEGORIES
POPULAR
Security platform that provides protection, monitoring and governance for enterprise generative AI applications and LLMs against various threats including prompt injection and data poisoning.
A threat intelligence aggregation service that consolidates and summarizes security updates from multiple sources to provide comprehensive cybersecurity situational awareness.
Fabric Platform is a cybersecurity reporting solution that automates and standardizes report generation, offering a private-cloud platform, open-source tools, and community-supported templates.
A weekly newsletter providing cybersecurity leadership insights, industry updates, and strategic guidance for security professionals advancing to management positions.