Cipher-RSA
Project description
Cyber-RSA
A Python package to generate Cipher.
Usage
RSA is an asymmetric system , which means that a key pair will be generated , a public key and a private key , obviously you keep your private key secure and pass around the public one.
Import CyberRSA
encoded = encrypt(message, PublicKey())
decoded = decrypt(encoded, PrivateKey())
message- Message to encrypt
PublicKey - To read the public key from PEM file.
PrivateKey - To read the Private key from PEM file.
generate_keys() - Using this function we can generate public key and private key PEM file in oneshot (PEM file available in parent directory of the python script).
encoded - Encrypted message send across network.
decoded - Decrypted message.
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
Cyber-RSA-1.0.0.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for Cyber_RSA-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd5d17ecefba6bad221a39b7785b2e7fd96014bf8adfb3a33777feae308c020a |
|
MD5 | e85694a4fe35b626ea4ee55728b6b744 |
|
BLAKE2b-256 | c51a3fb5902b7e483ed9ee4a5873aaec6c209b820417eca9baecc00e06ec21c4 |