Skip to main content

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: picklemarshalbase64zlibgzip
  • Multi-layered decryption: gzipzlibbase64marshalpickle
  • 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.
  • marshal is Python-version-dependent, so encrypted data may not be compatible across different Python versions.
  • Not recommended for high-security applications — for that, consider using cryptography or pycryptodome.

🛠️ 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 [Your Name].


Ready to keep your secrets safe? Seal them with SafeSeal! 🔐

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

safeseal-1.0.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

SafeSeal-1.0.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file safeseal-1.0.0.tar.gz.

File metadata

  • Download URL: safeseal-1.0.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for safeseal-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f730ae61db4bfb47ebed2159542fd5cbe70f62587883506acf87be815e8aae4e
MD5 80f5a1964339a5ed00f65d06dd66302b
BLAKE2b-256 c7e7f56a39aaa0bc14d01ecccf55d6fb1a4810df7f87656437456bd21ffd05bd

See more details on using hashes here.

File details

Details for the file SafeSeal-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: SafeSeal-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for SafeSeal-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 caf3c53bb63cb3d45cbf5a3f0f2f820bf5d40d1fcd25cac85cb7e04bb4a47234
MD5 64951008a61900cb75501d65bc21b872
BLAKE2b-256 f2ab6c35a35f8de73b2ab3a548c4ba391c337f308145fbf51d0df939a9b9a818

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