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 details)
Built Distribution
rsaes-0.0.2-py3-none-any.whl
(3.0 kB
view details)
File details
Details for the file rsaes-0.0.2.tar.gz
.
File metadata
- Download URL: rsaes-0.0.2.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c919b40ac096b3603026b8b8ed77937347ab3a2a2d9be9b3803d67ebac897925 |
|
MD5 | 64ccd0c7e2734913b54fcf535b64524f |
|
BLAKE2b-256 | 186f28e4e75ade576073a62ebdef7bc24f2692ed2b49a03ddf77a8118c64a04f |
File details
Details for the file rsaes-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: rsaes-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36ac269396c68d134ab84645d80fa1de079487ac488dbb3b77939f0a442a0f62 |
|
MD5 | 1be4f2789e93d0db12471db9b8db4aff |
|
BLAKE2b-256 | f7682511023d64c050c4544dcea368af8c593046574914d45f3bc67b6635c987 |