Post-classical cryptographic engine with automated security profiles and high-performance streaming
Project description
Seigr Toolset Crypto (STC)
Post-classical cryptographic engine with automated security profiles
What is STC?
Post-classical cryptographic system using lattice-based entropy, probabilistic hashing, and tensor operations. No XOR, no block ciphers.
Key Features:
- 19+ Security Profiles - Auto-detects file types and optimizes parameters
- Real-Time Streaming - 132.9 FPS, 7.52ms latency for P2P applications
- Large Files - >100GB support with constant 7MB memory
- Production Ready - 91.42% test coverage, zero vulnerabilities
Quick Start
# Install
pip install seigr-toolset-crypto
# Encrypt file (auto-detects type and profile)
stc-cli encrypt --input document.pdf --password "my_password"
# Decrypt
stc-cli decrypt --input document.pdf.enc --password "my_password"
Python API:
from interfaces.api.stc_api import STCContext
ctx = STCContext('my-seed')
encrypted, metadata = ctx.encrypt("Secret data", password="password123")
decrypted = ctx.decrypt(encrypted, metadata, password="password123")
→ Complete Usage Guide - CLI commands, API examples, streaming
Documentation
Getting Started
- Installation - PyPI, source, dependencies
- Usage Guide - CLI interface, Python API, examples
- Security Profiles - Auto-detection, optimization
Technical
- Architecture - System design, cryptographic components
- Core Modules - CEL, PHE, CKE, DSF, PCF explained
- API Reference - Complete API documentation
- Performance - Benchmarks, optimization
Security & Quality
- Security Guide - Threat model, best practices
- Security Audit - Grade A+ (Bandit, pip-audit, Safety)
- Testing - 91.42% coverage, 246 tests
- Production Readiness - Deployment guide
Development
- Changelog - Version history
- Migration Guide - Upgrading versions
How It Works
Post-classical cryptographic primitives:
- CEL - Continuous Entropy Lattice (lattice-based entropy)
- PHE - Probabilistic Hashing Engine (multi-path hashing)
- CKE - Contextual Key Emergence (key derivation)
- DSF - Data-State Folding (tensor transformation)
- PCF - Polymorphic Cryptographic Flow (adaptive parameters)
Use Cases
File Encryption
Auto-selected profiles based on file type:
- Documents, Media, Credentials
- Financial (tax, banking), Medical (HIPAA), Legal (contracts)
- Government, Technical, Backup
Real-Time Streaming
Optimized for P2P:
- Video/audio streaming (132.9 FPS)
- Live data feeds (7.52ms latency)
- Game state sync, IoT sensors
Large Files
Enterprise-grade:
- Files >100GB, 7MB constant memory
- 50-100 MB/s throughput
Performance
| Use Case | Metric | Performance |
|---|---|---|
| Streaming | Latency | 7.52ms |
| Streaming | FPS | 132.9 sustained |
| File (Document) | Speed | ~0.8s |
| File (Media) | Speed | ~0.5s |
| Large Files | Memory | 7MB constant |
| Large Files | Throughput | 50-100 MB/s |
Security
- Zero Vulnerabilities - Bandit, pip-audit, Safety (grade A+)
- 91.42% Coverage - 246 passing tests
- Post-Classical - Lattice-based, no XOR/block ciphers
- Compliance Ready - HIPAA, GDPR, SOX configurations
→ Security Audit | Best Practices
Contributing
Part of the Seigr Ecosystem - a self-sovereign decentralized network.
For Contributors:
- All code requires test coverage (91%+ target)
- Follow post-classical principles (no XOR, no legacy crypto)
- See Testing Guide and Architecture
For Security Researchers:
- Security analysis welcome
- Submit via GitHub Issues with technical details
License
ANTI-CAPITALIST SOFTWARE LICENSE (v 1.4) - See LICENSE
Citation
@software{seigr_toolset_crypto,
title = {Seigr Toolset Crypto: Post-Classical Cryptographic Engine},
author = {Seigr-lab},
year = {2025},
version = {0.4.2},
url = {https://github.com/Seigr-lab/SeigrToolsetCrypto}
}
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.4.2.tar.gz.
File metadata
- Download URL: seigr_toolset_crypto-0.4.2.tar.gz
- Upload date:
- Size: 290.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0ad7bf9d3098632344367d7e189bfc953b54b746ae0a2026fc560eff86dd93d
|
|
| MD5 |
5242384806f403a4218b01bb24f32faa
|
|
| BLAKE2b-256 |
af7727505039e6675a329f31487a6ca76609b8c924ed21723588e7921b3fdd23
|
File details
Details for the file seigr_toolset_crypto-0.4.2-py3-none-any.whl.
File metadata
- Download URL: seigr_toolset_crypto-0.4.2-py3-none-any.whl
- Upload date:
- Size: 147.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4adaafb81c1ceaa474205d491c865eb06f0771299d78f077b0bb59ea06b63b22
|
|
| MD5 |
e1f67c0a9bbca33541952ff6628a6261
|
|
| BLAKE2b-256 |
23f0e2d4d401c2dff204e3910f12029a5bebfaefb6e014ca1b0b4738f55820f4
|