Skip to content

Seigr-lab/SeigrToolsetCrypto

Repository files navigation

Seigr Toolset Crypto (STC)

Sponsor Seigr-lab PyPI License Coverage Tests

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

Technical

Security & Quality

Development


How It Works

Post-classical cryptographic primitives:

  1. CEL - Continuous Entropy Lattice (lattice-based entropy)
  2. PHE - Probabilistic Hashing Engine (multi-path hashing)
  3. CKE - Contextual Key Emergence (key derivation)
  4. DSF - Data-State Folding (tensor transformation)
  5. PCF - Polymorphic Cryptographic Flow (adaptive parameters)

Architecture Deep Dive


Use Cases

File Encryption

Auto-selected profiles based on file type:

  • Documents, Media, Credentials
  • Financial (tax, banking), Medical (HIPAA), Legal (contracts)
  • Government, Technical, Backup

Profile System Guide

Real-Time Streaming

Optimized for P2P:

  • Video/audio streaming (132.9 FPS)
  • Live data feeds (7.52ms latency)
  • Game state sync, IoT sensors

Streaming Performance

Large Files

Enterprise-grade:

  • Files >100GB, 7MB constant memory
  • 50-100 MB/s throughput

Performance Benchmarks


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

Full Performance Report


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} }

PyPI PackageDocumentationSponsor

Sponsor this project

 

Packages

No packages published

Languages