Skip to main content

A custom Python library for file encryption and decryption using a simple, self-made encryption algorithm. This library supports encryption of any file type and is easy to integrate into other projects.

Project description

Custom File Encryptor

A custom Python library for file encryption and decryption using a simple, self-made encryption algorithm. This library supports encryption of any file type and is easy to integrate into other projects.

Features

  • Encrypt and decrypt any file type (e.g., .txt, .jpg, .pdf, .mp4).
  • Custom encryption algorithm with simple operations (XOR and byte shifts).
  • Easy-to-use API for integrating into other Python projects.

Installation

To install the library, simply use pip:

pip install custom-file-encryptor

Usage

Here is a basic example of how to use the CustomFileEncryptor class to encrypt and decrypt files:

from custom_file_encryptor.encryptor import CustomFileEncryptor

# Initialize the encryptor with a password
encryptor = CustomFileEncryptor(password="my_secure_password")

# Encrypt a file
encryptor.encrypt_file("example.jpg", "example_encrypted.enc")

# Decrypt the file back to its original form
encryptor.decrypt_file("example_encrypted.enc", "example_decrypted.jpg")

Contact

For any questions or inquiries, please contact the author:

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

custom-file-encryptor-1.0.2.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

custom_file_encryptor-1.0.2-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file custom-file-encryptor-1.0.2.tar.gz.

File metadata

  • Download URL: custom-file-encryptor-1.0.2.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for custom-file-encryptor-1.0.2.tar.gz
Algorithm Hash digest
SHA256 bd36ce9a8574f9ebb9b3ca918730e80e860f3856e8f9da993067898c553c12ca
MD5 204a4e26ad2e219abac90ced21484b27
BLAKE2b-256 ab05fef5d575befd579c512fbb43d3760ba08c486389631a7bffec34d1752d12

See more details on using hashes here.

File details

Details for the file custom_file_encryptor-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for custom_file_encryptor-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f65dd689eadb79574856d4e41ffb1851b7fd7c8bf064bf77609b9d76341b6bc7
MD5 6baa78a680f24ee08f21f9a4e4e07eeb
BLAKE2b-256 83149263a5ae2a968218926d63a41c485a50cdb4647c9e44e269de59ae1d7050

See more details on using hashes here.

Supported by

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