A multi-layered encryption and decryption library in Python.
Project description
SafeSeal
SafeSeal is a Python encryption library that securely encrypts and decrypts data using multiple layers of encoding and compression.
🚀 Features
- Multi-layered encryption:
pickle→marshal→base64→zlib→gzip - Multi-layered decryption:
gzip→zlib→base64→marshal→pickle - Simple and Pythonic API
- Handles errors gracefully
🔧 Installation
Install SafeSeal using pip:
pip install SafeSeal
Or clone the repository:
git clone https://github.com/Altikrity/SafeSeal.git
cd SafeSeal
python setup.py install
📦 Usage
Import SafeSeal
from SafeSeal import Cencrypt, Cdecrypt
Encrypt Data
data = "Hello, SafeSeal!"
encrypted_data = Cencrypt(data)
print(f"Encrypted: {encrypted_data}")
Decrypt Data
decrypted_data = Cdecrypt(encrypted_data)
print(f"Decrypted: {decrypted_data}")
🔍 Example
from SafeSeal import Cencrypt, Cdecrypt
# Original data
data = "This is a secret message."
# Encrypt the data
encrypted = Cencrypt(data)
print("Encrypted Data:", encrypted)
# Decrypt the data
decrypted = Cdecrypt(encrypted)
print("Decrypted Data:", decrypted)
⚠️ Notes
- This library is designed for obfuscation and lightweight encryption.
marshalis Python-version-dependent, so encrypted data may not be compatible across different Python versions.- Not recommended for high-security applications — for that, consider using
cryptographyorpycryptodome.
🛠️ Contributing
Pull requests are welcome! For major changes, please open an issue first to discuss what you’d like to change.
📜 License
This project is licensed under the MIT License.
✨ Built with ❤️ by Abdullah.
Ready to keep your secrets safe? Seal them with SafeSeal! 🔐
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 Distribution
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 safeseal-1.1.0.tar.gz.
File metadata
- Download URL: safeseal-1.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82be08be92f41a069d1b87f1088fdac8e63139a83b7246d0aef506617f69dd9b
|
|
| MD5 |
efd5e8a43fdb399392c84929bf5fc61e
|
|
| BLAKE2b-256 |
d0b31173ab62745036c612dee89a8041ffcbb523310f93516800dc623c5fe7d4
|
File details
Details for the file SafeSeal-1.1.0-py3-none-any.whl.
File metadata
- Download URL: SafeSeal-1.1.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ce799c2d7e5209dc6643e46ca3df187dae5d66a02b6894ca20bd451cb00de56
|
|
| MD5 |
c23437cdeb322c239247f1b36af5b391
|
|
| BLAKE2b-256 |
39fc43db73445d7732a9f1ea11af8f6f6df5b2b63688c4dcd7cb01fbaa1d1466
|