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

Metadata

Release files for rsaes 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rsaes 0.0.2
File Size Uploaded Provenance
rsaes-0.0.2.tar.gz 1.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for rsaes 0.0.2
File Interpreter ABI Platform
rsaes-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.9 kB

Release files / rsaes-0.0.2.tar.gz

Download URL rsaes-0.0.2.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c919b40ac096b3603026b8b8ed77937347ab3a2a2d9be9b3803d67ebac897925
BLAKE2b-256 checksum
How to use checksums
186f28e4e75ade576073a62ebdef7bc24f2692ed2b49a03ddf77a8118c64a04f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / rsaes-0.0.2-py3-none-any.whl

Download URL rsaes-0.0.2-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36ac269396c68d134ab84645d80fa1de079487ac488dbb3b77939f0a442a0f62
BLAKE2b-256 checksum
How to use checksums
f7682511023d64c050c4544dcea368af8c593046574914d45f3bc67b6635c987
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for rsaes 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page