Skip to main content

🛡️ EzCipher

EzCipher is a modern, lightweight, and zero-boilerplate AES-256-GCM encryption utility for Python.
Designed for developers who need secure encryption without dealing with the complexities of cryptographic primitives.

Korean Version (한국어 버전)

✨ Features

  • Authenticated Encryption (AEAD): Uses AES-GCM to ensure data integrity and confidentiality.
  • Zero Boilerplate: No need to manually manage Initialization Vectors (IVs), salts, or authentication tags.
  • Secure Key Derivation: Hardened password-based key derivation using PBKDF2-HMAC-SHA256 with 100,000 iterations.
  • SecureConfig: Built-in layer for managing encrypted configuration/vault files.
  • Command Line Interface (CLI): Encrypt and manage secrets directly from your terminal.

🚀 Installation

pip install EzCipher

🛠️ Library Usage

Simple String Encryption

from EzCipher import EzCipher

# Initialize with a password
cipher = EzCipher.from_password("my-secret-password")

# Encrypt
encrypted_blob = cipher.encrypt("Hello, World!")
print(encrypted_blob) # Returns a versioned Base64 string

# Decrypt
original_text = cipher.decrypt(encrypted_blob)
assert original_text == "Hello, World!"

Encrypted Configuration (Vault)

from EzCipher import SecureConfig

# Create or load an encrypted vault
vault = SecureConfig("secrets.vault", "vault-password")

# Save encrypted data into groups
vault.save("database", {"user": "admin", "password": "db-password-123"})

# Read and decrypt
db_secrets = vault.read("database")
print(db_secrets['password']) # "db-password-123"

💻 CLI Usage

Once installed, use the ezcipher command:

Encrypt/Decrypt Strings

# Encrypt
ezcipher encrypt "secret message" -p "my-pass"

# Decrypt
ezcipher decrypt "AQ==..." -p "my-pass"

Manage Vault Files

# Set a secret
ezcipher config -f keys.vault -p "pass" --set production api_key "sk-12345"

# Get a secret
ezcipher config -f keys.vault -p "pass" --get production api_key

# List all
ezcipher config -f keys.vault -p "pass"

📖 Architecture & Format

EzCipher uses a unified binary format for its output: [VERSION(1 byte)] | [SALT(16 bytes)] | [NONCE(12 bytes)] | [TAG(16 bytes)] | [CIPHERTEXT]

This ensures that every piece of encrypted data carries everything it needs to be safely decrypted with the correct password.

⚖️ License

Licensed under the MIT License.
Copyright (c) 2026 minicom365

Metadata

Release files for EzCipher 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for EzCipher 1.1.0
File Size Uploaded Provenance Actions
ezcipher-1.1.0.tar.gz 9.2 kB Without provenance Details for ezcipher-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for EzCipher 1.1.0
File Interpreter ABI Platform Actions
ezcipher-1.1.0-py3-none-any.whl Python 3 none any Details for ezcipher-1.1.0-py3-none-any.whl

Total release size: 18.7 kB

Release files / ezcipher-1.1.0.tar.gz

Download URL ezcipher-1.1.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2f0a023a85beffa39b67a3329932c88b7858ca32e7111a3c5aa63a48de468caa
BLAKE2b-256 checksum
How to use checksums
fa16c5a0a147a51c5164ec8414e13dacfce4bcbedbac94a852376f5c9d2def40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / ezcipher-1.1.0-py3-none-any.whl

Download URL ezcipher-1.1.0-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e4c21aee2cb476b9fb9dc9812fdab0150cf3df58871b0fa4f2f80d3715645b04
BLAKE2b-256 checksum
How to use checksums
3474c88e3278d67af095e465d9fc29f17e54d87e46c3d3a419485edb0c32c937
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for EzCipher 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page