Skip to main content

pip install rsa
pip install PyCryptoDomex

  1. Import modules

import rsa
from rsaes import rsaes

  1. Creat RSA PublicKey and PrivateKey

pb, pv = rsa.newkey(1024)

  1. Encrypt data

cd, ck = rsaes.encrypt(b'Hello', pb)

  1. 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

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rsaes-0.0.2-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

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

Hashes for rsaes-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c919b40ac096b3603026b8b8ed77937347ab3a2a2d9be9b3803d67ebac897925
MD5 64ccd0c7e2734913b54fcf535b64524f
BLAKE2b-256 186f28e4e75ade576073a62ebdef7bc24f2692ed2b49a03ddf77a8118c64a04f

See more details on using hashes here.

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

Hashes for rsaes-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 36ac269396c68d134ab84645d80fa1de079487ac488dbb3b77939f0a442a0f62
MD5 1be4f2789e93d0db12471db9b8db4aff
BLAKE2b-256 f7682511023d64c050c4544dcea368af8c593046574914d45f3bc67b6635c987

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page