Skip to main content

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


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

If you're not sure about the file name format, learn more about wheel file names.

pycryto-0.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

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

Hashes for pycryto-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cf1d6b81a26670bcfd7888439d182c5f56c669cc7cd94d4a63711cae5bd6cc8
MD5 db136eaaa29137ef5affe0d7596b2dc0
BLAKE2b-256 95ec86a2e313871ef8ff335a26d4b5a90a1c67a56350369926db8b5653f1ce2e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page