pyaes256_encrypter
A package to simplify the use of AES-256 encryption with random initialization vector.
Install
pip install pyaes256-encrypter
Usage
from pyaes256_encrypter import encode_text, decode_text
# text to be encrypted
text = 'hello world'
# encryption key
key = 'key'
# RANDOM ENCODED e.g. 'Dx3dCTUSXzzM8wn1L/+NHVbyaDxZFpdqe+SN2NVZgfE='
encoded = encode_text(text, key)
# 'hello world'
decoded = decode_text(encoded, key)
Metadata
Release files for pyaes256-encrypter 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyaes256_encrypter-1.0.7.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyaes256_encrypter-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / pyaes256_encrypter-1.0.7.tar.gz
| Download URL | pyaes256_encrypter-1.0.7.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a3e52f6aa268fd7303fc3bc0e450ebea7e62485f72a1a2dfff5d9279faf3bc7
|
|
BLAKE2b-256 checksum How to use checksums |
1d74bccc6daba93d1e1b3409cfb4fbb6c892d9415c1fc7e6599952ed1d5a10ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.10 Linux/5.4.0-117-generic
|
Release files / pyaes256_encrypter-1.0.7-py3-none-any.whl
| Download URL | pyaes256_encrypter-1.0.7-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
150e855dcad9e2dea7d76b6b9441f6588b01a129229b6dc96a63af224292aa51
|
|
BLAKE2b-256 checksum How to use checksums |
3e283e03c5fabcd04f5eb74a69ae716fdfad4a9a579527aac3b5d38e1d78d098
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.10 Linux/5.4.0-117-generic
|