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(message, 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(message, 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.1.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for data_cipher-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50ea134b86d209def2dba4946b488ccaec1d367bda7c22e9258f2a2e0f3e4cc5 |
|
MD5 | 6fcc2c584453d5a5d81b7a9c45d5bb65 |
|
BLAKE2b-256 | 7645a96a92db43d9590cf5478d93e17b38891774ca410dbb1521af43bb89631b |