Skip to main content

EncFilex v1.1 () - layered file encryption (Base64 -> AES-256-GCM -> XChaCha20-Poly1305)

Project description

EncFilex (EFX) v1.1

🔒 EncFilex (EFX) is a modern file encryption system with double layers:

  1. Base64 Encoding
  2. AES-256-GCM
  3. XChaCha20-Poly1305

Designed so that any file (text, image, video, document) can be securely encrypted and only opened with the correct password.


✨ Features

  • 🔐 AES-256-GCM for symmetric security
  • XChaCha20-Poly1305 for extra security & long nonce
  • 📦 Supports large binary files (image, video, doc, etc.)
  • 🛡️ Password-based key derivation using Argon2
  • 🎯 Usable via Python API or Command Line (CLI)

📦 Installation

Install from PyPI:

pip install encfilex

🚀 Usage

1. API (in Python)

from EFX import encrypt_file, decrypt_file

# Encrypt
encrypt_file("secret.png", "secret.efx", "super-password")

# Decrypt
decrypt_file("secret.efx", "recovered.png", "super-password")

2. Command Line (CLI)

After installation, the encfilex command is available.

Encrypt file

efx encrypt secret.png secret.efx --password super-password

Decrypt file

efx decrypt secret.efx secret.png --password super-password

⚠️ Notes

  • Don't forget to keep your password safe.
  • If lost, files cannot be recovered (no backdoor).
  • The size of the encrypted file can be about 30% larger than the original (due to metadata + Base64).
  • Python 3.9+ is recommended.

📜 License

Released under the MIT license.
Made with LOVE by Azzam Jauzi (AkzDev).

Project details


Release history Release notifications | RSS feed

This version

1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

encfilex-1.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

encfilex-1.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file encfilex-1.1.tar.gz.

File metadata

  • Download URL: encfilex-1.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.6

File hashes

Hashes for encfilex-1.1.tar.gz
Algorithm Hash digest
SHA256 97c9ae08e3f3823b75d38d18b8594bb5cb2f3877b7a4233c48755cc6f573c58e
MD5 db78031c7db7a1d07ad2ab57873c0253
BLAKE2b-256 0dad8f208b9685b06e4ffd99930c8f502d9138acfa29b296c59ca4d84d7eced0

See more details on using hashes here.

File details

Details for the file encfilex-1.1-py3-none-any.whl.

File metadata

  • Download URL: encfilex-1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.6

File hashes

Hashes for encfilex-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 004311c8b489df3005aaf9da9e04aff1bf702382e9019294d75a02dd1b850cbe
MD5 5aa7794b1ca8024269bea03f584cf074
BLAKE2b-256 b88688d509340599930d68dfee3d5daa4b524b8807b797a9bdbafb0bcc6f4d9c

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