Encryption and Decryption of plain text using RSA Algorithm
Project description
The RSA algorithm is an asymmetric cryptography algorithm, which means that it uses a public key and a private key (i.e two different, mathematically linked keys). As their names suggest, a public key is shared publicly while a private key is secret and must not be shared with anyone.
The RSA algorithm is named after Ron Rivest, Adi Shamir, and Leonard Adleman who invented it in 1978.
In the code written, the key_Pairs() function returns the public as well as private keys, which themselves contain 2 values. So, while calling the function, make sure to use 2 variables, one for the public key and another for the private key.
The actual parameters to the encrypt_data() function should be the plain text taken input by the user, and the public key. The function returns the cipher text.
The actual parameters to the decrypt_data() function should be the cipher text, and the private key. The function returns the decrypted text, which is the original plain text.
Happy Cryptography !!
Change Log
0.0.2 (11/06/2021)
Second Release
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
File details
Details for the file rsa_algo_madhusree-0.0.1.tar.gz.
File metadata
- Download URL: rsa_algo_madhusree-0.0.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b621a334ef0bba56ead080bfe7494569604b4156743e22f785e9b7ef5d797260
|
|
| MD5 |
5672ccce3d846da70369e546ed6506a6
|
|
| BLAKE2b-256 |
b9e2ca429a0295570b63ccedf51dba54503dfdbbda571bbe60482b18d63e42ef
|