Encrypting and Decrypting data
Project description
data_cipher
The project is being finalized, plans include adding more algorithms
Developed by Nikita Derevyankin (Dronikon) (c) 2022
Installation
$ pip install data-cipher
Examples of How To Use
Advanced Encryption Standard
from data_cipher import Encoder
encoder = Encoder()
message = "test"
key = "12345"
en = encoder.aes_encrypt(message, key)
de = encoder.aes_decrypt(en, key)
print("Encrypted data: ", en)
print("Decrypted data: ", de)
Blowfish
from data_cipher import Encoder
encoder = Encoder()
message = "test"
key = "12345"
en = encoder.blowfish_encrypt(message, key)
de = encoder.blowfish_encrypt(en, key)
print("Encrypted data: ", en)
print("Decrypted data: ", de)
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
data_cipher-0.0.2.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for data_cipher-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9615e5f36341dbab1ab1c229f163d6422906859c0c4c4979927a573bd8a1895b |
|
MD5 | 45b82620e0e138c81a5240298cb0772a |
|
BLAKE2b-256 | 8226bde1c18a30e4d4c19ea776c0e57625294b1c20e05fb16e5a599f5f7a4067 |