Skip to main content

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)

https://pypi.org/project/data_cipher/

https://github.com/dronikosha/data_cipher

Project details


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)

Uploaded Source

Built Distribution

data_cipher-0.0.2-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page