pycryptography
A simple encryption library using AES and PKCS7 padding.
Installation
pip install pycryptography
## Usage
```xml
from encryption import encrypt, decrypt
# Define your key and plaintext
key = "thisisaverysecretkey1234"
plain_text = "Hello, World!"
# Encrypt the plaintext
encrypted_text = encrypt(plain_text, key)
print(f"Encrypted: {encrypted_text}")
# Decrypt the ciphertext
decrypted_text = decrypt(encrypted_text, key)
print(f"Decrypted: {decrypted_text}")
Metadata
Release files for pycryto 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycryto-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pycryto-0.1.0-py3-none-any.whl
| Download URL | pycryto-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2cf1d6b81a26670bcfd7888439d182c5f56c669cc7cd94d4a63711cae5bd6cc8
|
|
BLAKE2b-256 checksum How to use checksums |
95ec86a2e313871ef8ff335a26d4b5a90a1c67a56350369926db8b5653f1ce2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|