rsatool

rsatool

#Application Protection#Data Protection

An advanced Content Disarm and Reconstruction software for enhancing computer safety by removing dynamic content from Office files.

Visit Website

rsatool: Calculating RSA Parameters

rsatool calculates RSA parameters (p, q, n, d, e) and RSA-CRT parameters (dP, dQ, qInv) based on either two prime numbers (p, q) or the modulus and private exponent (n, d). The resulting parameters are displayed and can also be saved in an OpenSSL compatible format, either as a DER or PEM encoded RSA private key.

System Requirements

To run the software, you need the following requirements: python v3.7+, pyasn1, gmpy2. Here are some usage examples: - To provide a modulus and a private exponent with PEM output saved to key.pem, use the command: python rsatool.py -f PEM -o key.pem -n 13826123222358393307 -d 9793706120266356337 - To supply two prime numbers and generate DER output saved to key.der, use the command: python rsatool.py -f DER -o key.der -p 4184799299 -q 3303891593.