Obex Encryption Protocol vS130Q426T
Project description
🛡️ TheObex (vS130Q426T)
TheObex is a high-performance, lightweight symmetric encryption protocol designed for internal data protection in Python projects. It utilizes a layered XOR-Permutation strategy with context-based key derivation.
📦 Installation
pip install theobex
🛠️ Quick Start
from theobex import Obex
# 1. Initialization
cipher = Obex(key_path="master.key")
# 2. Encrypting Data (with context_id/user_id)
user_id = 777123
blob = cipher.encrypt("Secret message", user_id)
# 3. Decrypting Data
text = cipher.decrypt(blob, user_id)
print(text) # Output: Secret message
📊 Database Integration
Use BLOB (SQLite), BYTEA (PostgreSQL), or BINARY (MySQL) fields.
encrypted_blob = cipher.encrypt(message_text, user_id)
cursor.execute("INSERT INTO messages (uid, data) VALUES (?, ?)", (user_id, encrypted_blob))
⚙️ Technical Specification
Key Stretching: Master key processed via SHA-256.
Salt: 128-bit random CSPRNG salt per encryption.
Session Key: Hash(MasterKey + Salt + ContextID).
Transformation: Multi-layered XOR with positional index obfuscation.
⚠️ Security Warning
Key Management: Loss of the master.key file results in permanent data loss.
Protocol Use: Custom implementation (vS130Q426T). For financial or military compliance, use audited AES-GCM.
📄 License
MIT License.
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 theobex-1.3.0.tar.gz.
File metadata
- Download URL: theobex-1.3.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd925ab66a2719676d4e7dd76d29952623dcc9a157976016c6007e6c58640b0f
|
|
| MD5 |
8d7e9ac10f866a6dbf07e816ee9cbe1a
|
|
| BLAKE2b-256 |
91ecfd020f185b123800aa5d669294693787a730b51b3052c23870d51b70c57b
|
File details
Details for the file theobex-1.3.0-py3-none-any.whl.
File metadata
- Download URL: theobex-1.3.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1f82c070d3dfb1bafdd161d5cd5cf1a60fd5ed6d8dae7da399c31c51fd7ba2f
|
|
| MD5 |
2673533ea52f681d76f5e1cfdff2eeb9
|
|
| BLAKE2b-256 |
14c58095332e1dc194962c6b02cc968ac9918cbe44ab32af1343bc2869bfa4d8
|