Encrypt/decrypt files using key-based hexadecimal conversion
Project description
FileCryptor
A Python library for encrypting files to hexadecimal format and decrypting them back using a secret key.
Features
- Encrypt any file to hexadecimal format
- Decrypt hex files back to original format
- Uses SHA-256 key hashing for security
- Simple XOR encryption with key cycling
- Works with any file type
Installation
No installation required. Just include the src/file_cryptor folder in your project.
Usage
Basic Usage
from file_cryptor import encrypt_file, decrypt_file
# Encrypt a file
encrypt_file("document.txt", "encrypted.hex", "my_secret_key")
# Decrypt the file
decrypt_file("encrypted.hex", "restored.txt", "my_secret_key")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file filecryptor_hp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: filecryptor_hp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28ba3b140d038565a351bdaf1d12d0b44057d5150f0c525f9250690ad3ea926f
|
|
| MD5 |
348cbbaaaeeca8f724186807a687dfe3
|
|
| BLAKE2b-256 |
8724df7b7fb1f9e69322c3e66944047586c45dbb051e94c2ac1f5347b3c2a29f
|