Skip to main content

A secure AES-GCM encryption/decryption package

Project description

Simple Encryptor

A secure and easy-to-use AES-GCM encryption/decryption package for Python.

Why Use Simple Encryptor?

  • No Key Management Hassle: Just provide any key of your choice - no strict length requirements
  • Military-Grade Security: Uses AES-GCM encryption (same standard used by banks and governments)
  • Zero Configuration: Works out of the box with minimal setup
  • Cross-Platform: Works on Windows, Mac, and Linux

Quick Start

Installation

pip install simple-encryptor

Basic Usage

from encryptor import Encryptor

# Create an encryptor with your chosen key
encryptor = Encryptor("my-secret-key-123")

# Encrypt your data
data = "Hello, World!"
encrypted = encryptor.encrypt(data)
print(f"Encrypted: {encrypted}")

# Decrypt your data
decrypted = encryptor.decrypt(encrypted)
print(f"Decrypted: {decrypted}")

File Encryption

# Encrypt a file
encryptor.encrypt_file("document.txt", "document.txt.encrypted")

# Decrypt a file
encryptor.decrypt_file("document.txt.encrypted", "document_restored.txt")

Key Features

  • Any Key Length: Use any key you want - short or long, it doesn't matter
  • Automatic Key Derivation: Your key is securely processed to meet encryption standards
  • Tamper Detection: Built-in integrity checking prevents data tampering
  • Memory Safe: Automatically clears sensitive data from memory

Perfect For

  • Protecting sensitive configuration files
  • Encrypting user data in applications
  • Securing local file storage
  • Adding encryption to existing projects

Requirements

  • Python 3.8 or higher

License

MIT License - Use it freely in your projects!

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

simple_encryptor-0.1.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

simple_encryptor-0.1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file simple_encryptor-0.1.1.tar.gz.

File metadata

  • Download URL: simple_encryptor-0.1.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for simple_encryptor-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4ed76447e109b0b0a25513f409d9c719af62b54cb953cd35a02daa5a1e7eec55
MD5 9b8001ce2255eddd6bebc19415b11b5c
BLAKE2b-256 ae316615776e90ebcea477d8cdf8ea6f42914706fea4a5c8ee81df088d952a23

See more details on using hashes here.

File details

Details for the file simple_encryptor-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_encryptor-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 96642fe458ec698c1a24e484f6c200cf869c687df0ce0eb9e0602a2e5e3cf6aa
MD5 60cb541fef77577d98927ab4ecfdf5c6
BLAKE2b-256 76e1ee2c24b23c1dcb8724a90d705545116486155d427e10ef769bc674dcce77

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