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)
Metadata
Release files for aesencrypter 1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aesencrypter-1.8.tar.gz | 1.8 kB | Details |
Release files / aesencrypter-1.8.tar.gz
| Download URL | aesencrypter-1.8.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6352683dfe59658efbcca623acdef9f0473a273bdc31a169a76d5ba8248d20fe
|
|
BLAKE2b-256 checksum How to use checksums |
d8795ab7ff67f15e0886447b3115af4d2873c9795ba60eb1f0040942d3593c85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.8
|