Post-classical cryptographic engine rejecting legacy symmetric/asymmetric paradigms
Project description
Seigr Toolset Crypto (STC)
Post-classical cryptographic engine with entropy-regenerative architecture
Overview
STC rejects traditional symmetric/asymmetric paradigms, avoiding XOR-based mixing, static keys, and classical block ciphers. Instead, it implements:
- Continuous Entropy Lattice (CEL) - Self-evolving entropy field regenerated from computational deltas
- Probabilistic Hashing Engine (PHE) - Multi-path hashing with CEL-driven path selection
- Contextual Key Emergence (CKE) - Ephemeral keys reconstructed from context intersections
- Data-State Folding (DSF) - Encryption via multidimensional tensor folding
- Polymorphic Cryptographic Flow (PCF) - Dynamic algorithmic morphing
- State Management - Deterministic reconstruction from compact persistence vectors
Architecture
core/
├── cel/ # Continuous Entropy Lattice
├── phe/ # Probabilistic Hashing Engine
├── cke/ # Contextual Key Emergence
├── dsf/ # Data-State Folding
├── pcf/ # Polymorphic Cryptographic Flow
└── state/ # State persistence and reconstruction
interfaces/
├── api/ # Programmatic interface
├── cli/ # Command-line tools
└── bindings/ # Future cross-language bindings
utils/ # Mathematical primitives
tests/ # Validation and integrity checks
Installation
From GitHub Release (Recommended)
Download the latest release from Releases:
# Install from wheel (recommended)
pip install seigr_toolset_crypto-0.1.0-py3-none-any.whl
# Or install from source tarball
pip install seigr_toolset_crypto-0.1.0.tar.gz
From Source (Development)
git clone https://github.com/Seigr-lab/SeigrToolsetCrypto.git
cd SeigrToolsetCrypto
pip install -e .
Usage
Basic API
from interfaces.api import stc_api
# Initialize STC context
context = stc_api.initialize(seed="your-seed-phrase")
# Encrypt data
encrypted, metadata = context.encrypt("sensitive information")
# Decrypt data
decrypted = context.decrypt(encrypted, metadata)
# Generate probabilistic hash
hash_result = context.hash("data to hash")
Quick API (One-liners)
from interfaces.api import stc_api
# Quick encrypt - returns encrypted data, metadata, and context
encrypted, metadata, context = stc_api.quick_encrypt("sensitive data", seed="your-seed")
# Quick decrypt - reconstructs context from metadata
decrypted = stc_api.quick_decrypt(encrypted, metadata, seed="your-seed")
Alternative: Using convenience functions
from interfaces.api import stc_api
context = stc_api.initialize(seed="your-seed-phrase")
# Encrypt using stc_api function
encrypted, metadata = stc_api.encrypt(data="sensitive information", context=context)
# Decrypt using stc_api function
decrypted = stc_api.decrypt(encrypted_data=encrypted, metadata=metadata, context=context)
# Hash using stc_api function
hash_result = stc_api.hash_data(data="data to hash", context=context)
Principles
- No legacy cryptography - No XOR, no substitution-permutation networks, no block ciphers
- No external randomness - All entropy from internal computation (timing deltas, state evolution)
- Deterministic from seed - Same seed produces same initial state; state evolves with CEL dynamics
- Context-sensitive polymorphism - Behavior adapts to operation chains
- Ephemeral keys - Keys emerge and discard, never persist
- Self-sovereign security - No cloud dependencies, no external services, full user control
Examples
See examples/ directory for practical demonstrations:
password_manager/- Secure credential storage with self-sovereign encryptionconfig_encryption/- Configuration file encryption with metadata persistence
Run examples:
cd examples/password_manager
python password_manager.py
cd examples/config_encryption
python config_example.py
Development Status
Alpha - Research-grade cryptographic engine under active development
License
ANTI-CAPITALIST SOFTWARE LICENSE (v 1.4) - See LICENSE file for details
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 seigr_toolset_crypto-0.1.3.tar.gz.
File metadata
- Download URL: seigr_toolset_crypto-0.1.3.tar.gz
- Upload date:
- Size: 36.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56bc4db21008a169702028cccb5d78b42115631d4780a1c7eedc184f2954e8b6
|
|
| MD5 |
098a3426a58ac1e695a8341f67f23a9f
|
|
| BLAKE2b-256 |
064fb59b0b0e42a28a814f6c79ed002a4c546943557175c713b4406b16294578
|
File details
Details for the file seigr_toolset_crypto-0.1.3-py3-none-any.whl.
File metadata
- Download URL: seigr_toolset_crypto-0.1.3-py3-none-any.whl
- Upload date:
- Size: 42.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f19c145a75f90fef95525c42bd0c2eb02b11b2dba84d32a5d7758f50bd7c6e1
|
|
| MD5 |
80b02ceb736c6b2aba9745263993cc75
|
|
| BLAKE2b-256 |
c1b744ce9adf4314f847d37816ebc7a6c72b2bbac21aca12572ab17d7e6dfa9d
|