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 Abdullah.


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.1.0.tar.gz (2.5 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.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

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

Hashes for safeseal-1.1.0.tar.gz
Algorithm Hash digest
SHA256 82be08be92f41a069d1b87f1088fdac8e63139a83b7246d0aef506617f69dd9b
MD5 efd5e8a43fdb399392c84929bf5fc61e
BLAKE2b-256 d0b31173ab62745036c612dee89a8041ffcbb523310f93516800dc623c5fe7d4

See more details on using hashes here.

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

Hashes for SafeSeal-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ce799c2d7e5209dc6643e46ca3df187dae5d66a02b6894ca20bd451cb00de56
MD5 c23437cdeb322c239247f1b36af5b391
BLAKE2b-256 39fc43db73445d7732a9f1ea11af8f6f6df5b2b63688c4dcd7cb01fbaa1d1466

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