RSA + AES cryptography algorithms
Project description
pip install rsa
pip install PyCryptoDomex
- Import modules
import rsa
from rsaes import rsaes
- Creat RSA PublicKey and PrivateKey
pb, pv = rsa.newkey(1024)
- Encrypt data
cd, ck = rsaes.encrypt(b'Hello', pb)
- Decrypt data
data = rsaes.decrypt(cd, ck, pv)
Used when encrypting large amounts of data using RSA and AES algorithms
My telegram: https://t.me/sidqdev
By sidq with love
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rsaes-0.0.2.tar.gz
(1.9 kB
view hashes)
Built Distribution
rsaes-0.0.2-py3-none-any.whl
(3.0 kB
view hashes)