Skip to main content

Post-classical cryptographic engine rejecting legacy symmetric/asymmetric paradigms

Project description

Seigr Toolset Crypto (STC)

Sponsor Seigr-lab

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

  1. No legacy cryptography - No XOR, no substitution-permutation networks, no block ciphers
  2. No external randomness - All entropy from internal computation (timing deltas, state evolution)
  3. Deterministic from seed - Same seed produces same initial state; state evolves with CEL dynamics
  4. Context-sensitive polymorphism - Behavior adapts to operation chains
  5. Ephemeral keys - Keys emerge and discard, never persist
  6. 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 encryption
  • config_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


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.1.4.tar.gz (37.2 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.1.4-py3-none-any.whl (43.1 kB view details)

Uploaded Python 3

File details

Details for the file seigr_toolset_crypto-0.1.4.tar.gz.

File metadata

  • Download URL: seigr_toolset_crypto-0.1.4.tar.gz
  • Upload date:
  • Size: 37.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for seigr_toolset_crypto-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ba70d87e031e866cbd5d8a1c0423da5ddfeb689e6ff64c9c69cc9bdc37435e72
MD5 6709eff7cb4fb371743039f80b592b89
BLAKE2b-256 a7bb8cc910f89907dc752a6062fcee57d11d563f456828dc2a9e7b006a49b6ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for seigr_toolset_crypto-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 054e5a51bc16c13428b1bf3b8ba3989177c4e18a4a07d40dda3665ac8bde2086
MD5 4687c4cd41a15cabb2b1274fdd4246aa
BLAKE2b-256 b8568956d37c951bdecc003b982a990b911149f9c9d4230fda858b56215ba880

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