A simple cryptography library using AES
Project description
zscryptography
A simple encryption library using AES.
Installation
pip install zscryptography
Usage
from zscryptography import *
# Setup key(32 bytes)
key = "thisisaverysecretkey123456789012"
# Encrypt the plaintext
plain_text = "Hello, World!"
encrypted_text = encrypt(key,plain_text)
print(f"Encrypted: {encrypted_text}")
# Decrypt the ciphertext
decrypted_text = decrypt(key,encrypted_text)
print(f"Decrypted: {decrypted_text}")
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
zscryptography-2.0.0.tar.gz
(2.0 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 zscryptography-2.0.0.tar.gz.
File metadata
- Download URL: zscryptography-2.0.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
789ad082f300168d6e2212fc27035b3d043cbf13f9856ab671a7eddb1a8b0323
|
|
| MD5 |
11cdf32d96d61ab266d7aea8b2be9570
|
|
| BLAKE2b-256 |
5c4693a12b25ae1e416ec7198ed0127fcbeca14f8be54f197ba7fdeaaef1fd92
|
File details
Details for the file zscryptography-2.0.0-py3-none-any.whl.
File metadata
- Download URL: zscryptography-2.0.0-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86801d0b47ecede4b38f6046faefe71cfeb4dcaae3a98ebb5145325a4fe99097
|
|
| MD5 |
2c34371f9767e9ecf97d48837603232f
|
|
| BLAKE2b-256 |
70a1db7e8dedb130aa57c239e8e457917a01c3521c7ad117ba4421fd464e7a08
|