AES-256 CBC Encrypt/Decrypt utility package
Project description
AES-256 CBC Encrypter/Decrypter module
AESEncrypter is a utility package that allows you to encrypt with AES-256 CBC mode, a characters string with an encryption phrase passed as an argument. It also includes the decryption function.
Requirements
Have pycryptodome and pycryptodomex installed
Installation
Run the following to install:
pip install aesencrypter
Usage
from aesencrypter import EncryptString, DecryptString
plain_string = "Hello, World!" secret_key = "9ka87c30-9889-77a4-24-7ce56a47-6718-41a4-8677-52fe438d4f7b" e = EncryptString(plain_string, secret_key) d = DecryptString(e, secret_key) print("Plain String.......: " + plain_string) print("Encrypted String...: " + e) print("Decrypted String...: " + d)
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
Built Distribution
Hashes for aesencrypter-1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dd36f62b674e49da94cd5ec0e3143e29297c28a67ae76a4e17123a17a6f3060 |
|
MD5 | 489bec5e79f990dc868866fccd6c5f07 |
|
BLAKE2b-256 | 5a594f081557e97598d65be3c245042f4111842bed34505b11a4ddb2fdb45a38 |