Skip to main content

A simple cryptography library using AES

Project description

zscryptography

A simple encryption library using AES.

Installation

pip install zscryptography

Usage

from zscryptography import *

# Initialize the encryption service with a secure key(32 bytes)
key = "thisisaverysecretkey123456789012"
encryptor = EncryptionService(key)

# Encrypt the plaintext
plain_text = "Hello, World!"
encrypted_text = encryptor.encrypt(plain_text)
print(f"Encrypted: {encrypted_text}")

# Decrypt the ciphertext
decrypted_text = encryptor.decrypt(encrypted_text)
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 Distribution

zscryptography-1.0.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

zscryptography-1.0.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file zscryptography-1.0.0.tar.gz.

File metadata

  • Download URL: zscryptography-1.0.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for zscryptography-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f22ce423674e9240d40a22e8035c6e16f58e1f94b1fc56f670c8b07082ac9dea
MD5 a6b505124c56aa76ac21bc241be86f47
BLAKE2b-256 c9cdfdd6968e9744347c4c7236d972d1824c62bdde5225022c0aab14219ac4dd

See more details on using hashes here.

File details

Details for the file zscryptography-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: zscryptography-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for zscryptography-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0c74681bfc062b278b5765699bdaade1635dcf3b24e50f94ec7cd2bb9c7c879
MD5 6b09e92b9312fb7b1ccc8e1162e2d1d1
BLAKE2b-256 93201477b2585c47a134733c93be5dfdde7d02783218ab343a525cac9da3cd09

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