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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file data_cipher-0.0.2.tar.gz.
File metadata
- Download URL: data_cipher-0.0.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
213425b2bfab7ac0768ed6f40a1d6fcce8f8affda2d753db3b69329864d27c39
|
|
| MD5 |
b986a65f8d132a9b74ab2ea3a83c2dc3
|
|
| BLAKE2b-256 |
2128847774d4fb8ff876b7011272744b6e53b4211f49a502b7ec1210ea7e3d2a
|
File details
Details for the file data_cipher-0.0.2-py3-none-any.whl.
File metadata
- Download URL: data_cipher-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9615e5f36341dbab1ab1c229f163d6422906859c0c4c4979927a573bd8a1895b
|
|
| MD5 |
45b82620e0e138c81a5240298cb0772a
|
|
| BLAKE2b-256 |
8226bde1c18a30e4d4c19ea776c0e57625294b1c20e05fb16e5a599f5f7a4067
|