A simple cryptography library using AES and PKCS7 padding
Project description
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}")
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 pycryto-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pycryto-0.1.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 |
2cf1d6b81a26670bcfd7888439d182c5f56c669cc7cd94d4a63711cae5bd6cc8
|
|
| MD5 |
db136eaaa29137ef5affe0d7596b2dc0
|
|
| BLAKE2b-256 |
95ec86a2e313871ef8ff335a26d4b5a90a1c67a56350369926db8b5653f1ce2e
|