Skip to main content

Post-classical cryptographic engine with automated security profiles and high-performance streaming

Project description

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

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

seigr_toolset_crypto-0.4.2.tar.gz (290.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seigr_toolset_crypto-0.4.2-py3-none-any.whl (147.0 kB view details)

Uploaded Python 3

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

Hashes for seigr_toolset_crypto-0.4.2.tar.gz
Algorithm Hash digest
SHA256 f0ad7bf9d3098632344367d7e189bfc953b54b746ae0a2026fc560eff86dd93d
MD5 5242384806f403a4218b01bb24f32faa
BLAKE2b-256 af7727505039e6675a329f31487a6ca76609b8c924ed21723588e7921b3fdd23

See more details on using hashes here.

File details

Details for the file seigr_toolset_crypto-0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for seigr_toolset_crypto-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4adaafb81c1ceaa474205d491c865eb06f0771299d78f077b0bb59ea06b63b22
MD5 e1f67c0a9bbca33541952ff6628a6261
BLAKE2b-256 23f0e2d4d401c2dff204e3910f12029a5bebfaefb6e014ca1b0b4738f55820f4

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