ΞNIGMA // GENERATION 3POST-QUANTUM PROTECTION PLATFORM
ΞNIGMA3.0

THE NEW ENIGMA + PQC STACK.

Built to protect what comes next.

FRESH PER-OPERATION STATE+FIPS CORE+PQC+TRUST / K3Y+SIEM TRUST
Fresh origin per operation. High-throughput protection. Post-quantum recovery. Policy-bound Trust. Machine-readable evidence.
ΞNIGMA 3.0 // 01 // THE PLATFORM

PQC. FIPS.FRESH PER-OPERATION STATE.

Protect it once. Keep it protected for what comes next. ΞNIGMA combines fresh per-operation random state, FIPS-backed cryptography, post-quantum protection, governed recovery, and audit-ready evidence in one deployable platform—without forcing customers to stitch together separate security products.

384-bit fresh originDRBG-backed origin generationFIPS-backed classical primitivesML-KEM + ML-DSA + SLH-DSA
Security-claim boundary: The origin is sampled through the configured DRBG; a 384-bit state size does not establish 384 bits of entropy or security strength. The Particle stream is a deterministic expansion from compact state, so ΞNIGMA describes payload confidentiality as computational security rather than classical OTP perfect secrecy.
01 // ORIGINFresh per-operation random stateFresh 48-byte / 384-bit Particle Origin for each new encryption operation.
02 // CLASSICAL COREFIPS-backed protectionAES-256-GCM · GMAC · HKDF/SHA-2 · ECDSA-P384 · FIPS-backed randomness.
03 // LONG-TERM HARDENINGPost-quantum recovery pathOptional ML-KEM, ML-DSA and SLH-DSA around K3Y / Trust.
ΞNIGMA 3.0 // 02 // PARTICLE ORIGIN

EVERY ENCRYPTIONSTARTS NEW.

Fresh protection for every operation. No payload-sized pad to store. Each job starts from its own 384-bit Particle Origin, built from six independent FIPS-backed random draws. ΞNIGMA generates only the stream ranges required for the bytes in flight; authorized recovery recreates those exact positions later. The result is compact, parallel, and operationally simple.

48-byte origin6 × u64 statefresh per operationno payload-sized pad fileno prior-origin reuse path
Per-operation origin384 BITSx · y · z · r · p · t — six independently randomized 64-bit words.
Random-generation postureDRBGSP 800-90A DRBG usage. Entropy-source assurance depends on provider evidence and deployment scope; state size alone does not establish entropy strength.
Operational differenceNO PAD FILEThe payload-length stream exists only while the object is transformed; compact protected recovery state remains in Trust/K3Y.
ΞNIGMA 3.0 // 03 // CRYPTOGRAPHIC STACK

FIPS CORE.PQC WHERE IT MATTERS.

Keep the standardized core. Add PQC where it matters. ΞNIGMA retains the FIPS-backed controls security teams already understand, then adds post-quantum protection around recovery and authentication. No rip-and-replace. No separate security product stack. One governed workflow spans today’s standards and the post-quantum transition.

FIPS-backed primitive pathFIPS 186-5 ECDSA-P384FIPS 203 ML-KEM familyFIPS 204 ML-DSA familyFIPS 205 SLH-DSA family
Implementation posture is shown here. Complete-product CMVP certification / authorization is a separate external process and is not implied by the presentation.
FIPS / CLASSICALAES-256-GCMSeals and authenticates the K3Y / Trust recovery payload.
FIPS / INTEGRITYGMAC + SHA-2Chunk integrity and authenticated evidence commitments.
FIPS 186-5ECDSA P-384Primary classical Trust signature and provenance identity.
PQC / FIPS 203ML-KEMOptional long-term K3Y confidentiality path.
PQC / FIPS 204ML-DSAOptional post-quantum Trust authentication.
PQC / FIPS 205SLH-DSAIndependent hash-based post-quantum signature path.
ΞNIGMA 3.0 // 04 // TRUST / K3Y

THE KEY ISN’T THE RECORD.TRUST IS.

Put rules around every decrypt. ΞNIGMA lets you decide what must be true before protected data can come back: the right approval codes, matching protected context, and the right recovery record.

Keys open the cryptography. Trust controls the recovery. That means a stolen or misplaced key does not have to be enough on its own—and every successful recovery can carry the context needed to explain who, where, why and under what policy it happened.

01codes
Lock recovery with exact codes.Use one code or an ordered sequence. Missing, wrong or out-of-order values reject recovery. Time-based approval and TOTP validation require an external authorization integration.
02enforce
Bind decryption to the approved environment.Require committed context values to match. Region, tenant and destination claims must be established by trusted application or infrastructure controls; string matching alone does not attest an environment.
03info
Carry audit context without making it a recovery gate.Actor, purpose, source, destination, timestamps, and operational context remain with the security record for audit and operations.
ΞNIGMA 3.0 // 05 // SIEM TRUST

EVERY ENCRYPTION.ONE TRUST RECORD.

Every encryption emits one machine-readable Trust record for that protection event. It captures recovery gates, approved destination context, integrity proof, provenance, cryptographic posture, and execution evidence tied to the protected bytes.

Security gets the full receipt—not just “encryption succeeded.” Trust makes each operation reviewable later: what was protected, which controls governed it, which stack ran, how integrity was proven, and which record belongs in SIEM, audit or incident response.

PLAINTEXT→CIPHER BYTES+K3Y / TRUST
ONE ENCRYPTION // THREE VIEWSmoby.txt
ARTIFACTmoby.txt.k3y
SIZE14,301 bytes
AUTHORIZED VIEWTrust JSON
{
  "customer": {
    "gates": {
      "codes_sha256": "bd9391c3c8f853609702758420cce4b451b8cef0d0f1e42121dd81dc84c54895",
      "enforce_sha256": "b619e51a3d0e0f3653e44e46bd1a3fc3a816907aebfa50ef72697df3cb7c42be"
        },
    "id": "moby-txt",
    "info_encrypt": "[{\"region\":\"us-west\",\"group\":\"delta-tango-alpha-foxtrot\"}]",
    "info_plain": "[{\"region\":\"us-west\",\"group\":\"delta-tango-alpha-foxtrot\"}]"
    },
  "decrypt": {
    },
  "description": "IL7: AES-256-GCM/GMAC + ECDSA-P384/SHA-384 | Kyber-768 KEM + ML-DSA (adjunct, non-FIPS) | AWS-LC-RS",
  "encrypt": {
    "qscc_bytes": "1227713",
    "qscc_ended_ns": "1787169219712731667",
    "qscc_started_ns": "1787169219712184000",
    "qscc_tput_gib_s": "2.087759",
    "qscc_wall_s": "0.000548",
    "timestamp_ns": "1787169219712184000"
    },
  "fingerprint": {
    "trust_sha256": "fb716bcd8ee54742d1c1aceae034aa42caf7fdab972071338f3e54c2257c87e6"
    },
  "integrity": {
    "gmac_bytes": 1227713,
    "gmac_duration_ms": "2.612",
    "gmac_key_derivation": "HKDF-SHA256(trust_id)",
    "gmac_tag_digest_sha256": "ffde72276e156070a045b6137d34e43a801c60b1d50c2fa36736ab0c33942e56",
    "gmac_tags": 1,
    "mode": "gmac-per-chunk"
    },
  "provenance": {
    "qscc_id": "e3a2c04274e9600f785415481f3a7dcc822f1b6da04a59131518889a45260a76",
    "trust_id": "c3e525ef502d1c1bbd1b234e8b6679edbaa235f240b6d8d651be23a7dfc1ec59"
    },
  "stack": {
    "aes_256_gcm": true,
    "arng_otp": true,
    "ecdsa_p384_sha384": true,
    "ecdsa_secondary": false,
    "gmac_256": true,
    "kyber_768": true,
    "kyber_768_kem": true,
    "ml_dsa": true,
    "provider": "AWS-LC-RS"
    },
  "version": "1.0.0"
}
Every encryption leaves a Trust record.Policy · integrity · provenance · crypto posture · runtime evidence
Performance boundary: 20.28 GiB/s is a linear projection from measured workers, not a measured three-worker end-to-end Blob result. Storage, networking and key-service constraints affect production completion time.
ΞNIGMA 3.0 // 06 // SAME 1 PB // COMPLETION + ENERGY

1 PB: 12.76 PROJECTED HOURS.NOT 30.1 DAYS.

Same 1 PB. Same completed workload. ΞNIGMA is projected to complete the modeled cryptographic work in 12.76 hours. The illustrative 384 MB/s path takes 723.4 hours — 30.1 days.

That is 710.6 fewer hours with the job still open. Compute and operational coverage can stand down almost a month earlier.

ONE PETABYTE // TWO OPERATING WINDOWSThe linear cryptographic projection completes within a day; end-to-end storage throughput must be measured. The modeled alternative keeps the same 1 PB workload open for a month.
56.7×
ΞNIGMA12.76 hours~0.16 MWh
Competitive assembled path723.4 hours~8.8 MWh
30.1 DAYS
02 // NORMALIZED RUNTIME ENERGYShorter runtime means a much smaller modeled powered window.~98.2% ↓
ΞNIGMA window~0.16 MWh
30.1-day path~8.8 MWh
Energy basis: ~8.8 MWh is the modeled comparison-side facility energy across 723.4 hours. ~0.16 MWh normalizes the 12.76-hour window to that same facility draw to show runtime exposure; it is not a direct measurement of ΞNIGMA cloud power.
ΞNIGMA 3.0 // 07 // CLOUD DEPLOYMENT

POINT TO THE DATA.KEEP THE DATA THERE.

ΞNIGMA deploys where your objects already live. Source URI. Destination URI. Key and policy references. The worker reads, protects, and writes inside your cloud boundary.

No upload to us. No staging bucket. No storage migration. Existing object paths become the integration surface; ciphertext, K3Y, and Trust remain under customer control.

az:// Azure Blobs3:// Amazon S3gcs:// Google Cloudkv:// · kvk:// keys
YOUR CLOUD // ONE IN-BOUNDARY JOBPoint ΞNIGMA at the object. Protect it where it already lives.
NO DATA MOVE
01 // SOURCE URIRead from your objectaz://mission-data/moby.txt
02 // DESTINATION URIWrite protected bytes backaz://protected/moby.txt.enigma
03 // SECURITY REFUse your key + policykv://security/enigma-aes
CUSTOMER DATA PLANEpayload bytes stay inside this boundary
READSource objectStream from customer storage.
→
PROTECTΞNIGMAParticle + integrity + Trust/K3Y.
→
WRITEProtected objectReturn directly to your destination.
OUTPUT 01CIPHERTEXT
OUTPUT 02K3Y
OUTPUT 03TRUST EVIDENCE
CONTROL PLANEURIs + job policy onlyinstructions in · payload bytes out
Point. Protect. Write back.No staging bucket, no migration, no new custody path.
01
THE PLATFORM // THREE SECURITY DISCIPLINES

PQC + FIPS + fresh per-operation random state.

ΞNIGMA is not selling one algorithm in isolation. It separates three jobs that are often collapsed together: fresh random origin generation, standardized classical protection around Trust and recovery, and post-quantum hardening for longer-lived recovery and authentication material.

Full technical model →
WHAT THE SLIDE MEANS

The architecture is layered on purpose.

The per-operation Particle Origin begins with fresh randomness. The standardized classical layer supplies authenticated sealing, key derivation, integrity and signatures. PQC is additive: it can harden K3Y confidentiality and Trust authenticity without obscuring which controls actually protected the job.

BUYER TAKEAWAY

One operating boundary instead of a stitched security program.

The value proposition is the integration: fresh-origin data protection + FIPS-backed controls + optional PQC + governed recovery + evidence are presented as one bounded service rather than separate operational projects.

Entropy origin384-bit fresh state

Six randomized 64-bit coordinates form a new Particle Origin for each new encryption operation.

Classical coreAES · GMAC · HKDF · P-384

Standardized cryptographic primitives protect Trust, integrity, derivation and provenance.

PQC adjunctML-KEM · ML-DSA · SLH-DSA

Post-quantum KEM and signature paths can be enabled around recovery and authentication.

GovernanceTrust / K3Y

Operation state, policy, integrity, provenance and cryptographic posture are bound into the recoverable security record.

02
NEXT // WHERE EVERY JOB BEGINSThe platform claim only matters if every protection event starts from fresh state.

Chapter 02 isolates the entropy/origin path: how fresh random material becomes a compact Particle Origin, how the stream is addressed, and where the random-generation assurance boundary ends.

Continue to Entropy →
02
PARTICLE ORIGIN // ENTROPY + POSITION-ADDRESSABLE EXECUTION

384 bits establish the origin. The stream is reconstructed only where the bytes are needed.

Each encryption operation begins with six fresh 64-bit coordinates—x, y, z, r, p, t—drawn independently through the FIPS-backed random-generation path. Together they form the operation-specific 384-bit Particle Origin. ΞNIGMA does not pre-generate or store a payload-sized pad. Instead, the engine deterministically recreates exactly the Particle bytes required for a given absolute position as encryption or authorized recovery proceeds, allowing large objects to be processed in parallel while retaining compact protected recovery state.

Particle engineering →
WHAT CHANGES OPERATIONALLY

Fresh randomness is retained as compact recovery state—not as a second object-sized secret.

A classical OTP requires secret random material at least as long as the message. ΞNIGMA makes a different trade: fresh per-operation entropy establishes compact state, while a deterministic position-addressable trace recreates the payload-length XOR stream as needed. That enables direct seeking, parallel ranges and compact recovery.

SECURITY BOUNDARY

Fresh random origin. Computational confidentiality.

The fresh entropy itself is genuine random input. The expanded Particle stream is deterministic from compact state, so ΞNIGMA does not present it as classical OTP perfect secrecy.

GenerationSP 800-90A-backed

Per-operation origin and nonce material come from the FIPS-backed random-generation path.

Entropy assuranceSP 800-90B review scope

Entropy-source assessment requires provider-specific evidence; this page does not establish independent SP 800-90B validation.

AddressabilityAbsolute byte position

Workers can recreate specific ranges without depending on one shared mutable stream cursor.

Storage impactNo payload-sized pad file

The operating model retains protected compact recovery state rather than storing a second secret object the size of the payload.

03
NEXT // STANDARDIZED ASSURANCE AROUND THE PARTICLE PATHFresh state solves the origin problem. FIPS and PQC solve the protection and longevity problem.

Chapter 03 separates the classical FIPS-backed boundary from the optional post-quantum controls so customers can see precisely what is standardized, what is additive, and what is recorded in Trust.

Continue to FIPS + PQC →
03
FIPS + POST-QUANTUM CRYPTOGRAPHY

Keep the standardized core explicit. Add post-quantum protection without hiding the stack.

ΞNIGMA treats classical and post-quantum cryptography as distinct layers with distinct jobs. The AWS-LC-backed classical path supplies the standardized protection around Trust, integrity, derivation and primary provenance; the PQC adjunct can add quantum-resistant encapsulation and signature paths around recovery and authentication without turning the implementation into a single opaque “PQC” claim.

FIPS stack →
CLASSICAL CORE // STANDARDIZED BOUNDARY

Protect the Trust and recovery system with established primitives.

AES-256-GCM seals protected recovery material, GMAC supplies streaming ciphertext-integrity evidence, HKDF/SHA-384 handles derivation, and ECDSA-P384 provides the primary classical signing and provenance path.

AES-256-GCMGMAC-256HKDF / SHA-384ECDSA-P384
PQC ADJUNCT // CRYPTO-AGILITY

Add quantum-resistant recovery and authenticity where the mission requires it.

ML-KEM can protect the K3Y encapsulation path, while ML-DSA and SLH-DSA provide independent post-quantum signature options. They supplement the classical boundary rather than obscuring or replacing it.

ML-KEMML-DSASLH-DSA
RANDOM GENERATIONSP 800-90A-backedFresh origin and nonce material use the FIPS-backed generation path.
ENTROPY ASSURANCESP 800-90B review scopeEntropy-source evidence must be reviewed separately from DRBG usage.
CLASSICAL BOUNDARYFIPS-oriented coreClassical primitives stay identifiable as their own reviewable protection layer.
POST-QUANTUMOptional + explicitTrust can preserve which PQ controls were configured for the operation.
04
NEXT // FROM CRYPTOGRAPHY TO GOVERNED RECOVERYThe primitives protect the operation. Trust / K3Y carries the rules for recovering it.

Chapter 04 shows how ΞNIGMA binds the Particle recovery state to required context, enforcement policy, integrity, provenance and cryptographic posture.

Trust / K3Y →
04
TRUST / K3Y // GOVERNED RECOVERY

Trust defines the recovery contract. K3Y carries the protected state that can satisfy it.

ΞNIGMA separates recovery into two jobs. Trust records what the operation was, which context must match, and what integrity/provenance evidence belongs to it. K3Y protects the compact recovery state and can be governed independently from the ciphertext under the customer's own custody, IAM, retention and rotation model.

K3Y schema →
TRUST // THE RECOVERY CONTRACT

Recovery must satisfy the context committed when the data was protected.

Trust is more than metadata. It binds the operation identity, policy commitments, integrity evidence, provenance and cryptographic posture to the exact protection event. The three context fields deliberately do different jobs.

codesRequired + orderedThe committed authorization sequence must match.
enforceRequired policyThe protected enforcement context must match.
infoAudit-onlyMission or workflow context travels without becoming a decrypt gate.
K3Y // THE RECOVERY CAPSULE

Keep recovery state governable without turning it into another payload-sized secret.

K3Y carries the protected compact recovery material needed to reconstruct the authorized Particle path. It can travel with ciphertext or remain separately held so custody can follow the customer's security model.

PROTECTED DATACiphertext
+
GOVERNED RECOVERYK3Y under independent custody
OPERATION IDENTITYtrust_id + qscc_idBind the record to the exact protection event and execution trail.
INTEGRITYGMAC evidenceCiphertext authentication evidence remains associated with Trust.
PROVENANCEClassical + optional PQ signaturesSigning paths support later verification of the protected record.
CUSTODYSeparate K3Y governanceApply independent IAM, retention, rotation and recovery controls when required.
05
NEXT // TRUST BECOMES THE SECURITY RECORDTrust already knows the identity, policy and cryptographic state of the operation. Chapter 05 opens the Trust object and shows exactly what the SOC receives.

Authorized Trust JSON exposes machine-readable evidence for SIEM, audit, compliance, provenance and operations without requiring plaintext recovery.

SIEM Trust →
05
SIEM TRUST // THE TRUST OBJECT

The Trust object turns cryptography into a readable security record.

Each protection event can carry a structured Trust record with identity, policy commitments, integrity, provenance, cryptographic posture and runtime evidence. Authorized /v1/unwrap can expose that Trust JSON without restoring payload bytes, giving the customer a clean path into SIEM, audit and compliance tooling.

Unwrap API →
WHAT FLOWS TO SECURITY OPERATIONS

Identity, policy, crypto posture, integrity, provenance and runtime evidence in one machine-readable record.

The SIEM story is broader than success/failure logging. Authorized Trust JSON can expose the operation identifiers, policy digests and audit-only info, integrity evidence, cryptographic configuration, verification identities, timestamps, bytes processed, wall time and measured throughput.

SOC / COMPLIANCE TAKEAWAY

Encryption stops being opaque infrastructure.

The customer can correlate who protected what, under which policy, with which cryptographic posture, when it ran, and what integrity/provenance evidence was produced—without needing to recover plaintext.

Operation identitytrust_id · qscc_id · timestampBind security telemetry to a specific protection event and execution trail.
Policycodes_digest · enforce_digest · infoRequired commitments plus audit-only mission context.
IntegrityGMAC chunk evidenceChunk authentication and ciphertext-integrity commitments remain with Trust.
Crypto postureFIPS + PQC stateReview what classical/PQ protection path was configured for the operation.
ProvenanceECDSA + optional PQ signaturesVerification identities and signatures support audit and provenance review.
Runtime telemetrybytes · wall time · throughputExecution evidence supports metering, operational review and anomaly investigation.
POST /v1/unwrap
{
  "k3y_uri": "az://trust/audit.k3y",
  "return": "trust_json",
  "codes": ["7842", "11903"],
  "enforce": "tenant:contoso policy:v3"
}

AUTHORIZED TRUST JSON
        ↓
SIEM · AUDIT · COMPLIANCE · PROVENANCE
ExportStructured JSON

Designed for machine ingestion rather than requiring a human to interpret opaque encrypted metadata.

Payload boundaryNo plaintext required

Authorized Trust inspection can be performed through unwrap without restoring the protected payload.

Policy evidencecodes + enforce + info

Required gates and audit-only context remain distinguishable in the record.

DestinationCustomer SIEM / audit path

Operational onboarding includes forwarding records to customer-controlled evidence systems.

06
NEXT // SECURITY HAS TO SCALE ECONOMICALLYThe architecture matters because operating it for a petabyte should not require a month-long event and a permanent assembled organization.

Chapter 06 puts the same completed 1 PB outcome on both sides and exposes time, labor, platform, PQ, KMS/HSM and infrastructure carrying costs.

Continue to 1 PB TCO →
06
SAME COMPLETED 1 PB // OPERATING ECONOMICS

The economic advantage is the cost of reaching the same security outcome.

The model compares exactly the same 1 PB / 1,000,000 GB completed workload. ΞNIGMA uses the 20.28 GiB/s linear projection from three measured 6.76 GiB/s 8-vCPU workers; the illustrative assembled alternative remains at 384 MB/s and carries platform, PQ, KMS/HSM, people and recurring infrastructure allowances.

Full TCO model →
WHAT THE TCO IS REALLY MEASURING

Not appliance price. The annual organization and infrastructure required to reach the same completed secure workload.

The alternative model includes platform, PQ / crypto-agility, KMS/HSM capacity, standing labor, active-run coverage, and recurring infrastructure. The cost is the operating system around the byte path, not just the runtime delta.

ECONOMIC TAKEAWAY

The alternative's labor burden alone approaches the cost of the entire ΞNIGMA model.

The modeled assembled alternative carries about $2.243M/year in standing + active-run people cost before platform, PQ, KMS/HSM and recurring infrastructure are added.

Completion12.76 h vs 30.1 d~710.6 hours returned on the same 1 PB completed workload.
Modeled annual TCO$3.010M vs $11.310M~$8.300M / ~73.4% lower in the current assembled-stack model.
Alternative people stack~$2.243M / year~$2.090M standing fully loaded labor + ~$153K active-run coverage.
Alternative infrastructure carry~$400K / yearRecurring planning allowance for hardware, support, facilities, power/cooling, spares and ownership.
ΞNIGMA commercial$3 / GB

1,000,000 GB yields the modeled $3.0M encryption-platform line for the 1 PB workload.

Alternative runtime~1,446.8 FTE-h

Two-person active-run coverage across the modeled ~30.1-day completion window.

Alternative standing org~9.5 FTE-equivalent

Modeled integration/crypto, audit/SRE, management and shared support burden.

Recurring ownershipPower + cooling + maintenance

The infrastructure allowance captures the cost of keeping the alternative stack supported and ready beyond the individual job window.

07
NEXT // PUT THE WHOLE STACK INSIDE THE CUSTOMER BOUNDARYLow TCO is not enough if deployment forces the customer to surrender data, keys or evidence.

Chapter 07 closes the story with the operating model: URI-driven jobs, customer-controlled storage and key systems, governed K3Y destinations and Trust evidence forwarded into the customer's own security stack.

Continue to Deployment →
07
CUSTOMER BOUNDARY // DATA PLANE // EVIDENCE PLANE

The control plane coordinates. The customer boundary carries the payload.

ΞNIGMA requests exchange JSON, object locations and key references rather than inline payload bytes. Customer-controlled storage, runtime identity, key systems, ciphertext, K3Y destinations and evidence forwarding remain part of the customer's operating model.

Deployment architecture →
OPERATING FLOW

Reference the data. Execute near the data. Return governed outputs and evidence.

The service receives URIs and operation policy, resolves the permitted customer-controlled key references, performs the transform through the data plane, writes ciphertext and K3Y to selected destinations, and emits operational/Trust evidence for the customer's SIEM and audit workflows.

BUYER TAKEAWAY

Keep the data, the key systems and the audit trail under your operating model.

ΞNIGMA is designed to be deployed as at-rest protection inside the customer boundary, not as a control plane that needs to ingest payload bytes.

01 // INPUTObject URIsReference source and destination data in customer storage.
02 // IDENTITYKey referencesResolve classical and permitted PQ material through customer-controlled systems.
03 // EXECUTEStateless workersProcess jobs/ranges without one shared mutable stream cursor.
04 // OUTPUTCiphertext + K3YReturn protected data and governed recovery to customer-selected destinations.
05 // EVIDENCETrust JSON → SIEMForward structured operation evidence into audit and security operations.
Storageaz:// · s3:// · gcs://

Object-location driven execution keeps payload movement in the configured customer data path.

Key systemskv:// · kvk://

Key references preserve separation between job orchestration and customer-controlled key custody.

RecoveryK3Y destination

Trust can be bundled or separated to match customer IAM, retention, rotation and custody policies.

Security operationsJSON evidence

Operation and Trust records can feed SIEM, audit, compliance and provenance workflows.

THE PRESENTATION ENDS. THE ENGINEERING PROOF BEGINS.

Seven operating claims are now connected to the implementation underneath them.

The remainder of the site is reorganized as the technical evidence base: operating model, Particle path, FIPS/PQC stack, Trust/K3Y, APIs, threat model, economics, competition, engineering review and deployment quickstart.

Enter the full technical documentation ↓
ΞNIGMA 3.0 // COMPLETE PLATFORM // TECHNICAL DOCUMENTATION

ΞNIGMA 3.0 · Complete Platform

ΞNIGMA 3.0 takes the operational idea people want from one-use encryption—fresh state for each protection event and an XOR transform across the whole object—without pretending that a compact seed is a message-length classical one-time pad. At the start of encryption, ΞNIGMA creates a new six-coordinate Particle Origin — x, y, z, r, p, t — from the FIPS-backed random-generation path. Those 384 random bits become the protected starting state for a deterministic, position-addressable Particle trace that produces the matching XOR stream across the payload. A new encryption does not carry forward an earlier Particle Origin, the source data is never used to create the stream, and ΞNIGMA does this without requiring a second payload-sized secret pad file to be stored, moved, synchronized, copied, or retained beside the ciphertext.

That is the deliberate trade. A classical OTP earns its perfect-secrecy theorem by requiring independent secret randomness at least as long as the message. ΞNIGMA gives up that information-theoretic claim and instead keeps compact protected recovery state. When recovery is authorized, it does not fetch a stored message-length pad; it restores the operation state and retraces the exact position-addressable Particle path, recreating the same computational stream only where it is needed and reversing the XOR back to the original data. Trust can travel with the ciphertext as one protected object or separately as a .k3y recovery capsule for independent keystore, IAM, custody, retention, and rotation.

ΞNIGMA then surrounds the Particle byte path with the rest of the modern cryptographic stack: SP 800-90A-backed random generation, a SP 800-90B review scope entropy-assurance path, AWS-LC-backed classical primitives, authenticated integrity and signatures, and optional post-quantum protection through ML-KEM, ML-DSA, and SLH-DSA. The result is not a claim to have compressed Shannon entropy. It is a full protection-and-recovery architecture: fresh per-operation Particle state for the data transform, Trust/K3Y for controlled recovery, and classical + PQC controls around the recovery path. What follows is the engineering detail behind that model.

WHAT ΞNIGMA 3.0 CHANGES

Fresh per-operation origin. Stream on demand. Governed recovery.

ΞNIGMA changes the operating model around strong cryptography. Conventional at-rest systems usually apply a reusable symmetric key directly through a standardized block/stream cipher and then concentrate control in key management. ΞNIGMA moves the payload transform into a one-use Particle path: each encryption gets a newly randomized origin, the payload-matched XOR pad exists only while the bytes are being transformed, and the compact recovery state is authenticated, sealed, signed, policy-bound, and optionally post-quantum protected through Trust/K3Y.

LayerConventional patternΞNIGMA 3.0What changes operationally
Payload transformReusable AES/stream-cipher key drives the object cipher directly.Fresh Particle origin drives a one-use, full-length XOR pad generated only as bytes are processed.No payload-sized secret pad file and no designed path that carries a prior Particle origin into a new encryption.
Random originLong-lived data key or session key is the primary reusable secret.Current build creates x,y,z,r,p,t with six independent FIPS-backed random draws for each encrypt operation.The origin belongs to one protection operation and is recovered only through its Trust path.
RecoveryPossession of the data-encryption key is typically the central recovery condition.Trust/K3Y carries the protected Particle recovery state plus integrity, policy, provenance, and signature evidence.Recovery becomes an auditable, fail-closed contract rather than a bare key lookup.
PackagingCiphertext and key-management metadata are usually separate system concerns.Trust can be bundled with ciphertext for portability or emitted as a separate .k3y for independent custody and lifecycle management.Operators can choose portability or stronger administrative separation without changing the Particle data path.
ParallelismParallelization depends on the selected cipher mode and implementation.The same Particle origin plus absolute position recreates the same 128-byte block, so workers can address disjoint ranges independently.Direct seeking and parallel work do not require a shared mutable stream cursor.
Long-term cryptoClassical confidentiality and signatures are managed as separate modernization work.AWS-LC-backed AES/HKDF/GMAC/ECDSA controls remain around Trust, with optional ML-KEM, ML-DSA, and SLH-DSA on the recovery/authentication path.Particle, classical controls, PQC, policy, provenance, and evidence are delivered as one bounded platform.
The acceleration is architectural as much as computational. ΞNIGMA avoids storing a second payload-sized secret pad, supports direct positional replay, keeps the data transform parallelizable, and lets recovery material be governed independently from the ciphertext. It adds those properties without removing the standardized cryptographic controls used for sealing, integrity, signatures, key encapsulation, and verification.
ΞNIGMA 3.0 // SECURITY MODEL // PARTICLE XOR

Fresh Origin. Full-Length Stream. No Pad File.

One object. One independently randomized Particle origin. One governed recovery context. No prior-origin reuse path.

ΞNIGMA 3.0 transforms customer bytes with a Particle XOR stream generated from a new 384-bit Particle Origin State for each new encryption operation. That origin is assembled from six independent FIPS-backed random draws. Trust/K3Y carries the protected recovery state and may be bundled with the ciphertext or managed separately as a .k3y. AES-256-GCM seals the K3Y recovery path; it is not the primary byte cipher.

The cryptographic distinction is intentional

A classical one-time pad and ΞNIGMA are not making the same security claim. An ideal OTP can achieve information-theoretic perfect secrecy when its pad is uniformly random, independent of the message, at least as long as the message, kept secret, and never reused. ΞNIGMA does not claim that theorem. Particle starts from compact fresh random state and deterministically expands it into a position-addressable stream, so its confidentiality model is computational and seed-bound. What ΞNIGMA gains is operational: no message-length secret pad file, direct replay by absolute position, parallel range processing, compact recovery secrets, and a governed Trust/K3Y recovery architecture.

ENTRYJob requestsource URI + key refs + policyThe customer submits object locations, key references, policy gates, and identity to the data-plane service.
→
TRANSFORMParticle XORM[i] ⊕ K[i] = C[i]Fresh per-operation state drives a deterministic stream that is consumed while the object bytes are transformed.
→
RECOVERYK3Y + Truststate + policy + integrity + signaturesThe sealed recovery path carries protected operation state, integrity evidence, and policy commitments.
→
EXITCiphertext + K3Ycipher object + .k3yProtected output exits as governed artifacts: ciphertext at the object path and sealed recovery state at the K3Y path.
Entry and exit points are explicit. The service accepts a job manifest at the entry boundary, executes the byte transform inside the customer-controlled runtime, and exits with governed object artifacts: ciphertext at the destination object path and the sealed Trust/K3Y recovery bundle at its chosen recovery path.

Why not simply use a classical stored OTP?

A classical OTP is cryptographically remarkable precisely because it does not need a computational hardness assumption for confidentiality. Its cost is equally fundamental: the secret pad must contain at least as much independent randomness as the message. At cloud-object scale, that means managing a second secret object approximately the size of the protected data.

DimensionClassical ideal OTPΞNIGMA ParticleOperational consequence
Security categoryInformation-theoretic perfect secrecy when every OTP condition is satisfied.Seed-bound computational security from fresh random origin state plus deterministic Particle generation.ΞNIGMA does not claim to compress message-length Shannon entropy into 384 bits.
Secret materialRandom secret pad at least as long as the plaintext.48-byte / 384-bit fresh Particle Origin (x,y,z,r,p,t). Trust/K3Y separately carries policy, integrity, provenance, signatures, and the protected recovery context.The recovery secret stays compact relative to the payload; Trust integrity metadata can grow with chunk count, but ΞNIGMA does not create or retain a second message-sized secret pad.
1 PB protected payloadRequires approximately 1 PB of secret random pad material, plus the protected payload itself.Requires the compact Particle recovery secret plus the Trust/K3Y evidence needed to govern and verify the operation.Eliminates message-sized secret-pad storage, movement, synchronization, and custody.
RecoveryRetrieve and align the original pad with the ciphertext.Open the authorized K3Y state and regenerate the identical Particle stream at the required positions.Recovery becomes a cryptographically governed operation rather than retrieval of a second payload-sized secret.
Random access / parallelismPossible when the correct pad ranges are available and aligned.The same protected origin plus absolute position recreates the same 128-byte Particle block, so disjoint ranges can be computed independently.No shared mutable stream cursor and no requirement to fetch corresponding ranges from a stored pad object.
Policy / integrity / provenanceNot supplied by the OTP theorem itself; separate mechanisms are required.Trust/K3Y binds recovery state to gates, GMAC integrity evidence, provenance, signatures, and optional PQC controls.The byte transform and the recovery authorization system are delivered as one bounded architecture.
The point is not that the classical OTP is cryptographically weaker. Under its ideal assumptions it has the stronger secrecy theorem. The problem is operational scale: for N bytes of protected data, an ideal OTP needs at least N bytes of independent secret pad. ΞNIGMA intentionally trades that theorem for a compact, computationally generated stream and then uses Trust/K3Y to govern the recovery state.

Cipher model

SymbolMeaningRole
MMessage / plaintextCustomer object bytes before transformation.
KOperation-specific Particle streamFull-length XOR stream generated on demand from protected per-operation state and replayed only for authorized recovery; it is not a message-length store of independent random bits.
CCiphertextProtected object bytes written to customer-controlled storage.
EncryptC = M ⊕ K
↔
RecoverM = C ⊕ K
Correct recovery statement: the ciphertext does not contain the Particle origin or K3Y recovery material in plaintext. Decryption requires the corresponding K3Y path, the correct policy gates, and the configured cryptographic controls needed to reconstruct and authorize recovery.

Security properties carried through the design

PropertyWhat the architecture enforces
Flexible Trust custodyRecovery material can travel inside a bundled protected object or be managed separately as a .k3y under independent IAM, retention, and rotation policy.
Customer boundaryThe customer controls runtime placement, object locations, policy gates, and key systems.
Trust evidenceSigned provenance, integrity records, and auditable redacted Trust metadata document each operation.
Fresh origin per new encryptionEach new encryption samples a new Particle Origin State from six fresh random draws. The encrypt path contains no mechanism that intentionally carries forward an earlier origin; freshness is probabilistic, not a global uniqueness registry.
One operation / one Particle contextEach protected operation is bound to its own randomized origin, position-addressable stream, and authenticated recovery contract.

Continue to the cloud-at-rest architecture →

ΞNIGMA 3.0 // OPENING ARCHITECTURE SUMMARY

Architecture flow

StepElementFunction
01ObjectPlaintext object remains in customer-controlled storage and is read inside the customer boundary.
02Particle OriginA new 384-bit Particle Origin is created for this encryption operation from six fresh FIPS-backed random coordinates.
03XOR transformThe byte transformation applies C = M ⊕ K in a single reversible pass.
04Trust / K3YThe Particle Origin, Trust record, integrity evidence, policy, and provenance are authenticated and sealed as the operation's recovery context—bundled with the ciphertext or managed separately as .k3y.
05CiphertextProtected bytes are written back to customer-controlled object storage.
Fresh Particle Origin per new encryptionNo intentional prior-origin reuse pathTrust bundled or separateCustomer-controlled storage

API & system boundary

Primary job endpoint
POST /v1/job
Authorization: Bearer {TOKEN}

{
  "type": "encrypt",
  "source_uri": "az://data/in/audit",
  "destination_uri": "az://data/enc/audit",
  "k3y_uri": "az://trust/audit.k3y",
  "aes_256_gcm_uri": "kv://keys/enigma",
  "codes": ["7842", "11903"],
  "enforce": "tenant:contoso policy:v3"
}
System behavior
Byte pathOperation-specific Particle XOR stream
RecoverySeparate K3Y object and recovery path
ExecutionStateless operation inside the customer boundary
EvidenceTrust, integrity, status, and audit records
ReviewabilityVerifiable outputs and automated validation artifacts

Jump to the complete API reference →

ΞNIGMA 3.0 // OPERATING MIRROR // ENCRYPT AND DECRYPT

Same pipeline, opposite direction.

The service is intentionally symmetric at the control level: it accepts object references, resolves the required key systems, validates the configured protections, and either exits with protected output or fails closed if the policy, trust, or signature checks do not line up. The difference is the direction of the byte flow.

StageEncryptDecrypt
01 · EntryRead the plaintext object, destination URI, K3Y URI, and the policy / code inputs that govern the operation.Read the ciphertext object, K3Y bundle, and the policy / code inputs required for authorized recovery.
02 · ResolveResolve the configured vault/KMS references for AES-256-GCM, ECDSA-P384, and any optional PQC adjuncts.Resolve the same recovery path and verification stack, then authenticate the sealed K3Y + Trust context before continuing.
03 · GenerateSample a fresh 384-bit Particle Origin from six random draws, then generate the position-addressable Particle stream required for the object as bytes are processed.Recover the protected Particle Origin from the authenticated Trust/K3Y context and reconstruct the identical stream at the required absolute byte positions.
04 · TransformApply C[i] = M[i] ⊕ K[i], compute ciphertext-integrity evidence, and produce ciphertext bytes for the object destination.After Trust/K3Y authorization succeeds, verify ciphertext integrity as restoration proceeds and apply M[i] = C[i] ⊕ K[i]; failed verification prevents output commit.
05 · ExitWrite ciphertext to the output object and keep the K3Y/Trust bundle in its governed recovery path.Write recovered plaintext to the requested destination or return a hard failure when the verification gate fails.
06 · RejectIncorrect policy, wrong key references, or failed sealing results in a failed encrypt operation rather than a weaker cipher.Incorrect codes, wrong enforce values, invalid signer context, or failed integrity checks reject the decrypt operation and stop plaintext recovery.
One consistent rule: the system only exits with protected output when every required control agrees. If the Trust record, signer set, K3Y bundle, or policy gate does not match, the request stops at the decision boundary and the system fails closed instead of degrading to a weaker path.
Operating promise

Every protection event exits in one of two states only: valid protected output with a matching Trust/K3Y recovery path, or a fail-closed rejection before any plaintext is restored. There is no implicit downgrade, no intentional carry-forward of prior Particle state into a new encryption, and no successful output commit for a failed decrypt path.

GUARDAuthorized entryvalid refs + valid policyThe service accepts the request only when the object references, key systems, and policy gates are consistent with the operation.
→
VERIFYTrust and integritysignatures + K3Y + MACsWrong signer context, mismatched UUIDs, wrong codes, or invalid integrity evidence stop the path before recovery proceeds.
→
DERIVEPad replayrecreate stream from sealed bundleAuthorized recovery reconstructs the very same per-byte pad used by the original encryption event.
→
EXITProtected output or rejectciphertext or failureThe path exits as either valid plaintext/ciphertext output or a hard cryptographic rejection; never as a mixed result.
ΞNIGMA 3.0 // SECTION 01 // CLOUD-AT-REST OPERATING MODEL

One job. Zero ambiguity.

ΞNIGMA 3.0 is a bounded cloud-at-rest encryption service. The request carries object and key references; payload bytes are read, transformed, and written inside the customer boundary; the K3Y recovery artifact remains separate from the ciphertext.

REQUESTObject URI + key references + policy
IN-BOUNDARY EXECUTIONRead → Particle XOR → integrity + Trust
OUTPUTSCiphertext + separate K3Y

Operating contract

BoundaryΞNIGMA responsibilityCustomer-controlled state
CoordinateAccept a compact job manifest, validate supported URI/key-reference types, and orchestrate the requested operation.Object locations, vault/KMS references, identity, policy values, and deployment configuration.
TransformRead source bytes in-boundary, apply the operation-specific Particle XOR stream, produce integrity evidence, and write protected bytes to the destination object.Source and destination storage accounts/buckets, network path, runtime placement, and access control.
RecoverCreate and validate the separate K3Y Trust/recovery path required to reconstruct and authorize decryption.K3Y location, required codes/enforce values, and the cryptographic references required for recovery.
ProvisionPOST /v1/keygen can provision the AES, signing, and configured PQC reference set used by later operations.The resulting key material remains in customer-controlled vault/KMS systems; ΞNIGMA returns stable references rather than owning a central key registry.
Zero-ambiguity rule. The control plane coordinates the job; the customer data plane handles the bytes. A completed encrypt operation produces two governed artifacts—ciphertext and its separate K3Y recovery path—not a second copy of the plaintext and not a control-plane payload store.
ΞNIGMA 3.0 // HISTORICAL ORIGIN // MECHANIZED SECRECY

The machine that made secrecy move.

The historical Enigma turned cryptography into a repeatable machine process. A keypress sent an electrical signal through a configurable path; the machine produced one encrypted letter, advanced its internal state, and was ready to produce a different result on the next press.

How one keypress moved through the machine

StageElementWhat happened
01KeypressThe operator selected one plaintext letter and closed the machine's electrical circuit.
02PlugboardConfigured letter pairs were exchanged before the signal entered the rotor assembly.
03RotorsThe signal crossed multiple wired rotors whose positions determined the substitution path for that moment.
04ReflectorThe signal was returned through the rotor stack, creating a second state-dependent path.
05Lampboard + stepOne ciphertext letter illuminated, then the rotor mechanism advanced and changed the state for the next character.
The important idea: Enigma was not a fixed letter-for-letter substitution. Its output depended on controlled configuration and a state that evolved continuously as the message was processed.

Why the machine mattered

Mechanized secrecyEncryption became an operational procedure performed by a machine rather than a hand-built cipher table.
State was part of the cipherRotor order, rotor position, ring settings, plugboard configuration, and stepping behavior all influenced the result.
Operations mattered as much as mechanismThe system depended on controlled settings, disciplined procedures, and correct handling of the information required to reproduce the state.

What ΞNIGMA 3.0 carries forward — and what changes

Design ideaHistorical EnigmaΞNIGMA 3.0
Unit of transformationAlphabetic characterCloud object byte stream
Changing stateMechanical rotor position changed as characters were enteredFresh operation-specific Particle seed material establishes a new transformation path for each encryption operation
Transformation mechanismElectro-mechanical substitution through plugboard, rotors, and reflectorPosition-addressable Particle XOR transformation inside the customer boundary
Recovery dependencyMatching machine configuration and message settingsCorresponding K3Y recovery path, policy gates, and configured cryptographic controls
EvidencePrimarily procedural and operator-managedTrust metadata, integrity records, signatures, status output, and automated validation artifacts
Continuity of idea

The original Enigma made secrecy mechanical. ΞNIGMA 3.0 does not reproduce the rotor cipher; it carries forward the systems principle that protected information is governed by controlled state, disciplined separation, and a deliberately managed recovery path.

ΞNIGMA 3.0 // SECTION 00 // PERFORMANCE

Measured cryptographic throughput.

Azure Cobalt ARM 100 benchmark profile using a 16 MB chunk and a 10.38 GiB payload, with the FIPS core, K3Y seal path, and optional post-quantum adjuncts represented in the platform benchmark configuration.

Benchmark profile

PlatformChunkPayloadExecution boundary
Azure Cobalt ARM 10016 MB10.38 GiBCustomer boundary

Throughput by allocated vCPU

vCPUEncryptDecryptBenchmark observation
21.56 GiB/s1.46 GiB/sSmall-worker baseline.
43.59 GiB/s3.31 GiB/sStrong scale-up from the 2-vCPU profile.
86.76 GiB/s7.92 GiB/sHighest measured decrypt throughput in this profile.
108.14 GiB/s7.57 GiB/sHighest measured encrypt throughput in this profile.
3 × 8-vCPU COBALT CLUSTER

Measured worker basis: 6.76 GiB/s encrypt per 8-vCPU Cobalt worker. Three independent 8-vCPU workers provide a 20.28 GiB/s aggregate throughput projection when jobs or byte ranges scale linearly across workers. That is 24 vCPU total. At the projected aggregate rate, a 1 PB workload represents about 12.76 hours of raw cryptographic work. The 20.28 GiB/s figure is a cluster projection from three measured single-worker results, not a separately measured three-node benchmark.

Measured operating markers

Peak encrypt8.14 GiB/s at 10 vCPU
Peak decrypt7.92 GiB/s at 8 vCPU
K3Y seal~6 ms
Memory delta+9 MB RSS / job
Blob egress note~0.47–0.57 GiB/s ceiling
8+ vCPU noteRecorded as write-bound

Cryptographic configuration represented

LayerComponents
FIPS coreAES-256-GCM
ECDSA P-384
HKDF-SHA-384
Post-quantum adjunctML-KEM-768
ML-DSA-65
SLH-DSA-128s
ΞNIGMA data pathParticle XOR
K3Y capsule
Codes / policy gates
How to read the benchmark

Cryptographic throughput and storage-path throughput are separate constraints. The compute path scales strongly through the measured worker sizes, while the benchmark notes that the workload becomes write-bound at 8+ vCPU and records blob egress at roughly 0.47–0.57 GiB/s. The table above therefore preserves the cryptographic measurements separately from the cloud I/O ceiling.

ΞNIGMA 3.0 // SECTION 02 // CLOUD DEPLOYMENT

Cloud deployment surface.
At-rest encryption inside your boundary.

ΞNIGMA 3.0 is deployed into customer-controlled cloud or approved compute infrastructure. The service coordinates work from object-storage pointers and customer-owned key references, performs the byte transformation inside that boundary, and writes the ciphertext and separate K3Y recovery path back to locations the customer controls.

ONE CRYPTOGRAPHIC CORE // TWO INTEGRATION SURFACES

Cloud objects when the data already lives in storage. Direct bytes when ΞNIGMA lives inside the application.

The cryptographic and Trust model does not change. What changes is who owns I/O and key resolution. In cloud deployment, the REST service receives object and key references and performs the work inside the customer runtime. In native integration, application code calls the Rust crate directly with byte readers/writers and in-process key material.

SURFACE A // CLOUD / OBJECT API

URI in. URI out. Keys stay referenced.

Use REST/JSON when the source is a Blob/S3/GCS object and key custody stays in Vault/KMS/HSM. The service resolves the references, streams the object through Particle, writes ciphertext and K3Y separately, and emits Trust evidence for the SIEM/audit path.

az://s3://gcs://kv://kvk://REST / JSON
See cloud API →
SURFACE B // DIRECT BYTE / RUST CRATE

Read + Write in. Ciphertext + K3Y out.

Use the crate when ΞNIGMA is embedded directly in a Rust service, agent, pipeline, appliance, or test harness. The caller owns the byte stream and passes AES/signing/PQC material plus codes, info, and enforce directly into the core options.

core::encryptcore::decryptcore::reencryptunwrap_bind_infostdin/stdout CLI
See direct crate path →
Runs insideCustomer account / VPC / VNet / cluster
ResolvesCustomer storage + Vault / KMS / HSM references
ReturnsCiphertext + separate K3Y path

Deployment surface

SurfaceCustomer-controlled resourceΞNIGMA actionBoundary rule
Object storageBlob / S3 / GCS object locationsRead source bytes and write protected output.Payload objects remain in customer-selected storage.
Key systemsVault / KMS / HSM referencesResolve encryption, signing, unwrap, and optional PQC material by reference.Key ownership and access policy remain with the customer.
Workload identityManaged identity / workload roleAuthorize least-privilege read, write, sign, and unwrap operations.No reusable cloud-account secret is required by the service.
Private runtimeApproved VM, container, VPC, VNet, or cluster boundaryExecute the encrypt / decrypt job close to customer data.Protected payload bytes do not need to traverse an external control plane.
K3Y pathCustomer-selected separate storage locationWrite the sealed recovery capsule and Trust material separately from ciphertext.Recovery material is not stored as part of the ciphertext object.

In-boundary data path

StageOperationWhat movesControl
REQUESTSubmit job manifestObject URIs, key references, policy inputs, job metadataREST authorization + entitlement
READOpen source objectPlaintext bytes inside the customer runtime boundaryCustomer workload identity
RESOLVELoad cryptographic referencesVault / KMS / HSM material required for the configured pathCustomer key policy
TRANSFORMEncrypt or decryptStreaming bytes through Particle XOR plus configured integrity / recovery controlsIn-boundary compute
WRITEPersist artifactsCiphertext to one location; K3Y to its separate locationCustomer-selected destinations
Boundary principle

The control plane coordinates; the customer data plane carries the payload. Storage locations, runtime placement, key systems, identity policy, ciphertext, and K3Y destinations remain under customer control.

ENTRYRequest manifestobject URIs + key refs + policyCustomer requests identify source bytes, destination bytes, key systems, and the K3Y recovery path.
→
EXECUTEIn-boundary transformread → XOR → integrityBytes are read, transformed, and validated inside the customer runtime before exit is authorized.
→
AUTHORIZESeal TrustTrust / K3Y / gatesRecovery is sealed with the configured keys, signatures, and required policy commitments.
→
EXITGoverned artifactsciphertext + K3YThe object path and recovery path are separated by design, and both remain under customer control.
DEPLOYMENT GUIDE // PRODUCTION ONBOARDING

10-Step Onboarding to Production

The production path moves from cloud foundation to identity and key access, then through validation, evidence collection, and controlled go-live. The sequence below belongs to the deployment surface because every step establishes or verifies something inside the customer boundary.

StepPhaseActionProduction check
01FoundationCreate or designate the subscription.
Select the Azure subscription and resource boundary that will contain the deployment.
Ownership, region, policy, and billing scope are established.
02FoundationDeploy ΞNIGMA 3.0.
Place the runtime on the approved VM, AKS, Container Apps, or equivalent private compute surface.
Runtime is reachable only through the intended network path.
03IdentityAssign workload identity.
Grant least-privilege access to the required storage and key systems.
Read, write, sign, and unwrap permissions are scoped to required resources.
04KeysProvision cryptographic references.
Generate or import AES, ECDSA, and permitted PQC material; retain customer control of the key systems.
Stable Vault / KMS / HSM references resolve from the runtime identity.
05ValidationStage representative test data.
Place a non-production sample object in the same storage pattern intended for production jobs.
Source and destination URIs exercise the real data-plane path.
06ValidationRun health and readiness checks.
Call /v1/health and confirm version, FIPS posture, entitlement state, and configured limits.
Service reports ready before protected operations are enabled.
07ValidationSubmit the first protected job.
Run an encrypt operation through /v1/job using the production-style object and key references.
Job completes successfully inside the intended customer boundary.
08EvidenceVerify the roundtrip and artifacts.
Confirm ciphertext output, separate K3Y, Trust metadata, gates, signatures, and integrity verification.
Decrypt restores the source bytes and validation evidence is retained.
09OperationsConnect logging and metering.
Forward operational records to the customer SIEM / audit path and enable authorized metering integrations as required.
Security, job, failure, and usage events reach the approved evidence systems.
10Go-liveEnable production policy.
Apply quotas, entitlement gates, alerting, recovery procedures, and change-control requirements.
Production acceptance criteria are documented and monitoring is active.
Production gate

Go-live follows a verified roundtrip, not merely a successful deployment. The customer should be able to prove storage access, key resolution, encrypt/decrypt correctness, K3Y separation, Trust verification, logging, and failure handling before production policy is enabled.

ΞNIGMA 3.0 // SECTION 03 // PARTICLE XOR

Particle XOR Layer — Not AES-at-Rest

The customer byte stream is transformed by a fresh, per-operation Particle XOR keystream. AES-256-GCM is used on the separate K3Y recovery path rather than as the primary byte cipher for the object itself. The current Particle Origin State is 384 bits / 48 bytes, created as six independently randomized 64-bit words: x, y, z, r, p, t.

Role split

Particle XOR transforms the object bytes. AES-256-GCM seals K3Y recovery material. Optional PQC controls protect the recovery/authentication path. These are distinct roles in the stack.

Particle state construction

StageRepresentationPurpose
Random origin6 × u64 = 384 bits / 48 bytesEach of x, y, z, r, p, t is created by a separate call to the FIPS-backed random source when the encrypt operation begins.
ParticleKey6 × u64
x · y · z · r · p · t
The six random coordinates form the compact per-operation recovery/origin state used to reproduce the Particle path.
ScheduleHKDF-SHA-384The 48-byte randomized origin is input to a small domain-separated schedule that derives four internal 64-bit subkeys. HKDF is part of the replayable schedule; it is not the source of the six random Particle coordinates.
Addressingblock index iEach output block is derived from seed/state plus its position, allowing disjoint chunks to be processed without shared mutable stream state.
TransformC[i] = M[i] ⊕ K[i]The generated keystream block is XORed with the corresponding plaintext bytes; raw keystream bytes are not emitted as output.
01 · RANDOMIZE New Particle origin O = { x, y, z, r, p, t } 6 independent FIPS-backed random draws · 384 bits in the current build
02 · ADDRESS Position-specific state S[i] = ParticleState(O, i) The origin + absolute position identifies the exact state needed for that portion of the payload
03 · GENERATE / REPLAY Pad block on demand K[i] = Emit(S[i]) 128-byte pad blocks are created only when needed; authorized decrypt recreates the same block at the same position
04 · TRANSFORM XOR the payload C[i] = M[i] ⊕ K[i] Recovery applies the same pad again: M[i] = C[i] ⊕ K[i]

Design properties

PropertyImplementation intent
Fresh per operationA new Particle Origin State is sampled from six random draws for each new encryption operation; the encrypt path does not intentionally carry forward a prior origin.
Position-addressableWorkers can derive the keystream for their assigned byte range without coordinating a shared mutable cursor.
Keystream not persistedGenerated stream bytes are transient transformation material; only the resulting ciphertext is written to the object path.
Trust packaging is selectableThe protected recovery state can be bundled with ciphertext or emitted separately as .k3y; separated mode enables independent custody and lifecycle policy.
Recovery is gatedK3Y opening, policy gates, signatures, and configured cryptographic controls determine whether the seed/recovery path can be used.
Technical distinction

ΞNIGMA has one payload transform: Particle. Every new encryption independently samples one fresh 48-byte / 384-bit Particle Origin. That origin drives the deterministic, position-addressable stream used across the object. The generated stream exists only as transient working material; the protected origin is retained in Trust/K3Y so authorized recovery can retrace the identical stream later. There is no second Particle mode and no message-length secret pad file.

ΞNIGMA 3.0 // SECTION 04 // PARTICLE STREAM + RECOVERY PATH

The byte layer is Particle XOR.One engine. One 384-bit origin. Compact recovery state. Sealed K3Y.

ΞNIGMA separates the customer-byte transformation from the recovery and trust path. There is one Particle data engine. Each new encryption independently creates a fresh 48-byte / 384-bit Particle Origin — x, y, z, r, p, t — and uses that origin to generate a deterministic, position-addressable XOR stream as the payload moves through the service. The expanded stream is transient. Trust/K3Y protects the compact origin and the evidence required to authorize and verify recovery.

Why this is deliberately not a classical OTP

A classical OTP stores secret random material at least as long as the message. Particle does not. Particle begins with compact fresh random state and deterministically generates the full-length stream from that state, so ΞNIGMA makes a computational-security claim rather than an information-theoretic perfect-secrecy claim. That trade removes the message-sized secret-pad requirement while preserving a fresh per-encryption origin, full-object XOR transformation, direct positional replay, and exact reversible recovery.

One Particle construction

ElementRepresentationWhat it doesWhat persists
Particle Origin48 bytes / 384 bits
x · y · z · r · p · t
Six independently randomized 64-bit coordinates establish the per-encryption starting state.The protected origin is carried by the Trust/K3Y recovery context.
Particle streamK[i] = Particle(origin, i)Absolute byte position selects the deterministic stream range needed for that part of the object.No payload-length stream file is retained.
EncryptC[i] = M[i] ⊕ K[i]Generated stream bytes are XORed with plaintext as the object is processed.Ciphertext plus the governed K3Y recovery artifact.
RecoverM[i] = C[i] ⊕ K[i]Authorized decrypt restores the same origin and retraces the exact stream at the same positions.Recovered plaintext is committed only after the configured recovery and integrity gates succeed.
01 · ORIGINFresh 384-bit Particle statex · y · z · r · p · tNew encryption starts from six fresh FIPS-backed random draws.
→
02 · TRANSFORMPosition-addressable Particle XORC[i] = M[i] ⊕ K[i]The engine computes only the stream ranges needed for the bytes being processed; generated stream bytes remain transient.
→
03 · GOVERNCiphertext + Trust/K3Ycipher object + protected originThe ciphertext and compact recovery context can be packaged together or governed separately.

Particle, Trust, and K3Y have separate jobs

LayerJobWhy the separation matters
ParticleTransforms customer bytes with the operation-specific, position-addressable XOR stream.The payload path does not depend on storing a message-sized secret pad and AES is not the primary object cipher.
TrustRecords the protected Particle recovery state, integrity evidence, policy commitments, provenance, identity, and telemetry.Recovery is an authenticated contract rather than possession of a bare data key.
K3YSeals and governs the Trust/recovery context with the configured classical and optional PQC controls.The recovery object can be independently protected, retained, rotated, audited, and separated from ciphertext.

Classical OTP vs. Particle, precisely

PropertyClassical ideal OTPΞNIGMA Particle
Secret sizeSecret random pad at least as long as the payload.One protected 48-byte / 384-bit Particle Origin plus Trust/K3Y metadata and integrity evidence.
Secrecy modelInformation-theoretic perfect secrecy when every OTP condition is satisfied.Seed-bound computational security; confidentiality depends on origin freshness/secrecy and the security of the Particle construction and recovery controls.
Expanded streamThe pad itself is the secret and must be retained or delivered securely for recovery.The expanded Particle stream is generated as needed and discarded; it is reconstructed from the protected origin for authorized recovery.
1 PB payloadApproximately 1 PB of independent secret pad material is required.No second 1 PB secret pad object is created; the Particle origin remains 48 bytes, with separate Trust/K3Y evidence.
Random accessRequires locating and aligning the corresponding secret pad range.Absolute position directly addresses the corresponding Particle stream range.
GovernanceIntegrity, identity, provenance, and policy are outside the OTP theorem and must be added separately.Trust/K3Y integrates those controls around the Particle recovery path.
Why Particle exists

The classical OTP solves secrecy by preserving message-length secret randomness. Particle solves a different systems problem by preserving origin. ΞNIGMA creates fresh random state for every new encryption, turns that state into a full-length position-addressable stream only as computation, discards the expanded stream, and protects the compact origin inside a governed recovery architecture. That is the core design choice.

ΞNIGMA 3.0 // SECTION 05 // NO KEY REUSE

Every new encryption starts with a fresh Particle Origin.
No prior-origin reuse path.

Keystream reuse is treated as a hard design failure. Each new encryption independently samples a fresh Particle Origin State and produces a new Trust/K3Y recovery context. The encrypt path does not intentionally carry a prior origin forward. Re-encryption is a different operation: it can deliberately preserve the existing Particle state because the ciphertext bytes are not transformed again.

Why reuse is unacceptable

01 · ENCRYPT A First plaintext C₁ = M₁ ⊕ K
+
02 · ENCRYPT B Second plaintext C₂ = M₂ ⊕ K
→
FAILURE · SAME PAD REUSED The pad cancels. C₁ ⊕ C₂ = M₁ ⊕ M₂ The ciphertext pair now exposes a direct relationship between the two plaintexts.
FRESHNESS / NO-REUSE RULE

Every independent new encryption operation begins by sampling fresh Particle origin state and creating a new Trust/K3Y recovery context. Reusing the same XOR stream across two different plaintexts would expose M₁ ⊕ M₂ when the ciphertexts are XORed, so the implementation contains no intentional path for carrying a prior origin into a new encryption. This is a randomness-based freshness guarantee, not a global database claiming that a 384-bit random collision is mathematically impossible.

Per-encrypt lifecycle

StepControlWhat happens for each encryption operation
01Fresh Particle originA new 6 × u64 / 384-bit Particle Origin State is assembled from six independent draws from the configured FIPS-backed random-generation path.
02Position-addressable Particle stateThe origin and absolute byte position drive the Particle schedule so the required pad block can be generated on demand and reproduced exactly for authorized recovery.
03Trust identityThe operation receives its own provenance identifiers, including trust_id and qscc_id, binding recovery state, integrity evidence, policy, and execution evidence to that operation.
04Trust/K3Y recovery contextThe Particle recovery state and Trust record are authenticated and sealed by the configured K3Y protection controls.
05Packaging choiceThe sealed recovery context can travel bundled with the ciphertext or as a separately governed .k3y artifact for independent custody, IAM, retention, and rotation.
06Next operationThe next independent encryption creates a new Particle origin and a new Trust/K3Y context rather than carrying forward the prior operation's pad state.

One operation, one recovery context

01 · CREATE New encryption operation Every protection event starts as its own independent cryptographic context.
→
02 · RANDOMIZE New Particle Origin {x,y,z,r,p,t} · 384 bits Six fresh FIPS-backed random coordinates independently sample the origin for this operation; the new-encrypt path does not carry forward an existing origin.
→
03 · BIND Bind Trust to the origin trust_id · qscc_id Integrity, policy, provenance, signatures, and execution evidence are bound to the same operation.
→
04 · RECOVER Protected recovery context Trust / K3Y Authenticate and seal the recovery state, then carry it with the ciphertext or manage it separately as .k3y.

Harvest-now / decrypt-later review

Material capturedWhat is still requiredReview implication
XOR ciphertext onlyThe corresponding Particle Origin State / authorized recovery context.SEPARATED — the Particle Origin State is not exposed as plaintext inside the ciphertext object.
Ciphertext + K3YSuccessful opening of the configured K3Y protection path and satisfaction of the required policy gates.KEY-BOUND — long-term confidentiality therefore depends on protecting the K3Y seal and its configured key systems.
Two independently encrypted copiesReuse of the same Particle stream would be the dangerous condition.FRESH-CONTEXT DESIGN — each encrypt begins with a new Particle Origin rather than reusing a prior stream context.
Trust signature materialForgery of provenance is distinct from recovery of the Particle Origin State or plaintext.SEPARATE ROLE — signatures attest operation evidence; they are not the byte-recovery secret.

Control summary

Control objectiveReview posture
Origin freshnessGenerate a new Particle Origin State from six independent random draws at the start of each encrypt operation.
No reusable data keyDo not treat the Particle Origin State as a long-lived AES-style data key shared across objects or jobs.
K3Y separationKeep recovery material on a separate sealed path from the XOR ciphertext.
Operation provenanceBind Trust evidence to the operation through identifiers and integrity/signature records.
Fail-closed recoveryRequire the corresponding K3Y path and configured gates/cryptographic controls before recovery succeeds.
Design rule

Fresh new encryption. Fresh independently sampled Particle state. Distinct Trust/K3Y recovery context. Particle generates the stream only when it is needed and authorized recovery replays the same operation-specific bytes. The critical invariant is no intentional reuse of a prior stream context across independent new encryption operations. Metadata-only re-encryption is explicitly different because it rotates recovery protection around unchanged ciphertext and therefore preserves the existing Particle state.

ΞNIGMA 3.0 // SECTION 06 // STACK

FIPS Cryptographic Stack

The standardized cryptographic boundary is kept deliberately narrow. AWS-LC, accessed through aws_lc_rs, supplies the classical primitives used for sealing, integrity support, derivation, signatures, hashing, and randomness. ΞNIGMA orchestration sits above that boundary; the optional post-quantum adjunct remains a separate layer.

STANDARDIZED CRYPTO COREAWS-LC / aws_lc_rs
ΞNIGMA ORCHESTRATIONParticle · K3Y · Trust · policy gates
SEPARATE ADJUNCTML-KEM · ML-DSA · SLH-DSA

Classical primitive map

PrimitiveRoleUse in ΞNIGMABoundary status
AES-256-GCMK3Y / Trust sealingAuthenticates and encrypts the recovery capsule. Associated data binds the required policy commitments to the protected Trust state.AWS-LC CORE
HKDF + SHA-2Domain-separated derivationSupports Particle schedule derivation and dedicated integrity-key derivation. SHA-256 is also used for policy and evidence commitments.AWS-LC CORE
ECDSA P-384 / SHA-384Primary Trust signatureSigns operation evidence and provenance. A secondary P-384 signing path can be configured independently.AWS-LC / KEY VAULT PATH
Random generationFresh seed, nonce, key materialaws_lc_rs::rand::SystemRandom supplies runtime randomness used by the classical security path.AWS-LC CORE
GMACChunk-level ciphertext integrityAuthenticates ciphertext chunks with a dedicated derived MAC key; resulting evidence is committed into Trust.AES-GCM AUTH PATH

What is inside — and outside — the boundary

LayerResponsibilityReview posture
Standardized cryptographyAES-GCM, SHA-2/HKDF, P-384 signing support, and runtime randomness.CRYPTO BOUNDARY — provided through the AWS-LC-backed path.
Particle byte transformPosition-addressable operation-specific XOR stream generated on demand and applied to customer payload bytes.APPLICATION CONSTRUCTION — custom ΞNIGMA Particle stream layer, separate from the standardized FIPS primitive boundary and not presented as a classical OTP primitive.
K3Y + TrustRecovery format, evidence schema, integrity records, identifiers, policy commitments, and artifact separation.APPLICATION PROTOCOL — protected by the standardized primitives above.
codes / enforceFail-closed policy inputs committed into authenticated recovery state.POLICY LAYER — application semantics enforced through authenticated cryptographic state.
PQC adjunctOptional ML-KEM, ML-DSA, and SLH-DSA protection around K3Y confidentiality and Trust authentication.SEPARATE LAYER — documented independently in the next section.

Runtime assurance

ControlWhat is checkedWhy it matters
FIPS runtime postureAWS_LC_RUST_FIPS=1 is required for the intended FIPS-enabled execution posture.Prevents the reviewed deployment path from silently running in an unintended provider mode.
Known-answer / diagnostic checksInternal diagnostics exercise the configured classical primitives and report failures explicitly.Provides release and deployment evidence that the configured cryptographic path is operational.
Fail-closed inputsInvalid keys, malformed material, mismatched policy commitments, and incomplete recovery state are rejected before plaintext is released.Keeps cryptographic success and authorization success coupled at recovery time.
Key ownershipCustomer-controlled vault/KMS references and caller-supplied key material remain external to the service's long-lived state.Separates the application from persistent customer key custody.
FIPS review boundary

Implementation posture is not the same thing as an independent product certificate. This section describes the AWS-LC-backed cryptographic boundary and the runtime controls used by the current build. Any formal module/product validation or deployment authorization remains an external assessment process and should be represented separately.

ΞNIGMA 3.0 // SECTION 07 // PQC

Post-Quantum Cryptography Adjunct

The post-quantum layer is an optional protection path around K3Y confidentiality and Trust authentication. It augments the AWS-LC-backed classical/FIPS core; it does not replace the Particle byte transform, AES-256-GCM sealing, GMAC integrity, or the primary ECDSA-P384 Trust signature.

CLASSICAL / FIPS COREAES-256-GCM · GMAC · ECDSA-P384 · DRBG / HKDF
OPTIONAL PQC ADJUNCTKyber-768 / ML-KEM family · Dilithium3 / ML-DSA family · SPHINCS+ / SLH-DSA family

Post-quantum control map

ControlStandard / familyWhat it protectsHow it is used
Kyber-768 / ML-KEM-768 familyKyber lineage / FIPS 203 mapping
Module-LWE
K3Y confidentiality and the long-term recovery path.Encapsulates a shared secret to the recipient public key; a derived KEK protects the K3Y capsule. Used when the PQC adjunct is enabled.
Dilithium3 / ML-DSA familyDilithium lineage / FIPS 204 mapping
Module-lattice signature
Trust authenticity under a post-quantum signature path.Adds an independent PQ signature over Trust material; decrypt/unwrap verifies it when configured.
SPHINCS+ SHA2-128s-simple / SLH-DSA familySPHINCS+ lineage / FIPS 205 mapping
Hash-based signature
Independent Trust authenticity using a non-lattice assumption.Adds a second optional PQ signature path; verification is required when that path is configured for the operation.
ECDSA-P384FIPS 186-5
Classical signature
Primary Trust authenticity in the classical/FIPS core.Remains the primary Trust signature; PQ signatures supplement rather than silently replace it.

Where PQC sits in the recovery path

01Particle ciphertextPayload bytes stay on the separate data path.
02K3Y + TrustRecovery seed, integrity, identity, policy commitments.
03Classical protectionAES-256-GCM seal + ECDSA-P384 verification.
04PQC adjunctML-KEM wrap and optional ML-DSA / SLH-DSA signatures.

Operational contract

StateExpected behaviorReview implication
PQC disabledThe classical/FIPS path remains responsible for K3Y sealing, Trust signing, integrity, and recovery authorization.Do not describe the operation as having post-quantum K3Y or signature protection.
PQC enabled for encryptK3Y is protected with the configured ML-KEM recipient path; configured PQ Trust signatures are emitted with the operation.Trust should identify the enabled adjuncts so the resulting artifact is auditable.
PQC required for decrypt / unwrapThe corresponding private/verification material must be supplied and all configured PQ checks must pass before recovery or authorized Trust release.Missing or invalid required PQ material is a fail-closed condition.
Mixed deploymentClassical and PQ controls can coexist while customers migrate policy, keys, and workloads.The security claim must follow the controls actually enabled for that operation—not merely the features compiled into the build.
PQC BOUNDARY

The adjunct protects the K3Y/Trust recovery path; it is not a claim that every layer becomes post-quantum merely because the feature is present. In the current architecture, PQC operations use the separate oqs/liboqs path and are identified accordingly in Trust, while the AWS-LC-backed classical core remains the FIPS boundary. Review should verify which adjuncts were actually enabled and enforced for the operation.

ΞNIGMA 3.0 // SECTION 08 // K3Y

K3Y Trust Capsule

K3Y is the authenticated Trust and recovery capsule associated with a protected payload. It carries the Particle recovery state, Trust record, integrity evidence, policy commitments, and provenance needed to authorize and reconstruct recovery. ΞNIGMA supports two packaging modes: the sealed Trust capsule can be bundled with ciphertext for portable single-object handling, or emitted as a separate .k3y artifact for independent keystore, IAM, retention, custody, and rotation management.

01Fresh seed48-byte Particle seed per encrypt operation
02Protect bytesParticle XOR emits the ciphertext artifact
03Assemble TrustSeed, policy commitments, integrity, identity, telemetry
04Seal TrustBundle with ciphertext or emit as a separate .k3y capsule

Recovery contract

ElementWhat it carriesRole in recovery
CiphertextParticle-XOR-transformed payload bytes.Protected data artifact. It may travel alone with Trust managed separately, or as the payload portion of a bundled protected object.
Trust / K3YSealed Particle recovery state, Trust/provenance fields, policy commitments, and ciphertext-integrity evidence.Provides the authenticated recovery state corresponding to the ciphertext; it can be bundled or independently managed as .k3y.
Cryptographic controlsAES-256-GCM key reference, signing verification material, and optional PQC key material.Open, authenticate, and verify the K3Y path according to the configured stack.
Policy gatescodes and enforce must match their committed values. info remains audit metadata.Incorrect required gates fail closed; audit-only info can differ without becoming a decrypt gate.
RECOVERY RULE

Packaging does not change the recovery contract. Whether Trust is bundled with ciphertext or managed separately as .k3y, successful recovery still requires the corresponding protected Trust state, the configured cryptographic key controls, and every required policy gate.

Trust Payload

The Trust payload is the compact operating record sealed for one encryption event. It binds Particle recovery state, policy, integrity, identity, provenance, and execution evidence to the protected payload. That sealed Trust can be packaged inline with the ciphertext or managed independently through the .k3y path.

Record familyFieldsWhat the record establishes
Recovery secretarng_keyProtected 48-byte Particle Origin (6 × u64). Authorized decrypt restores this state from Trust/K3Y and replays the same position-addressable Particle stream.
Classical identitypk_primary
pk_secondary
Primary and optional secondary ECDSA-P384 verification identities for Trust provenance.
PQ identitypqc_kem_pub
pqc_sig_pub
pqc_slh_sig_pub
Optional ML-KEM/Kyber recovery identity and ML-DSA / SLH-DSA receipt metadata when the PQ adjunct is enabled; these fields can be verified later as part of the sealed Trust path.
Policy commitmentscodes_digest
enforce_digest
SHA-256 commitments to the ordered authorization codes and required enforcement policy without storing the original gate values as plaintext fields.
Ciphertext integrityct_gmac_chunks
GMAC digest metadata
Per-chunk integrity evidence used to detect modified, missing, reordered, or substituted ciphertext during recovery.
Execution evidenceqscc_*Bytes processed, timing, throughput, integrity timing, and operation telemetry.
Operation identitytrust_id
qscc_id
timestamp_ns
Identifiers and timing that bind the Trust record to a specific operation and measurable execution trail.
TRUST STATECBORECDSA-P384AES-256-GCMK3Y+ optional PQC protection
Protection layerProtectsReview point
ECDSA-P384Trust provenance and classical signature verification.Verify the expected signing identity before authorized Trust/recovery release.
AES-256-GCMConfidentiality and authentication of the sealed Trust/recovery payload.Wrong key material or mismatched authenticated policy state causes open/authentication failure.
GMAC chainIntegrity of the ciphertext stream represented inside Trust.Chunk tags are checked during decrypt; the aggregate digest gives a compact integrity commitment.
Optional PQC adjunctLonger-lived K3Y recovery and authentication path.ML-KEM/Kyber wrap and ML-DSA / SLH-DSA verification apply only when configured.

Bundled or Separate Trust Packaging

ΞNIGMA separates the payload role from the Trust/recovery role even when both are carried in one bundle. Operators can keep ciphertext and .k3y as independent artifacts for stronger keystore separation, or bundle the sealed Trust capsule with ciphertext when portability and single-object handling are more useful.

ONE ENCRYPT OPERATIONFull-length Particle XOR stream + sealed Trust state
↙↘
PAYLOAD ARTIFACTCiphertextParticle-XOR-transformed bytes
RECOVERY ARTIFACTK3YSealed seed + Trust + integrity evidence
DimensionCiphertextK3Y
Primary purposeCarry the protected payload bytes.Carry authenticated recovery, policy, integrity, and provenance state.
ContainsParticle-XOR-transformed object bytes.Sealed Particle recovery state, Trust metadata, gate commitments, signatures/identity, and integrity evidence.
PackagingCan remain a standalone ciphertext object or be packaged with the sealed Trust capsule.Can be bundled inline with ciphertext or emitted separately as .k3y.
Storage policyCustomer-selected filesystem, object store, appliance, or application destination.When separate, can use tighter IAM, keystore, retention, escrow/custody, and rotation policy than the payload object.
Exposure modelStandalone ciphertext does not expose the protected Particle recovery state.A bundled object still keeps Trust cryptographically sealed; a separate .k3y additionally creates an administrative separation boundary.
Rotation / re-encryptionCan remain unchanged when the workflow rotates K3Y protection and policy state around the same ciphertext.Recovery controls, gate state, and sealing material can be re-issued through the re-encryption workflow.
PACKAGING BOUNDARY

Bundling and separation are deployment choices, not different cryptographic modes. Bundling simplifies transport and object handling because ciphertext and sealed Trust move together. A separate .k3y adds an administrative and custody boundary so recovery state can live under different IAM, keystore, retention, and rotation controls. In either form, the Trust state remains cryptographically sealed and recovery remains subject to the configured keys and required gates.

ΞNIGMA 3.0 // SECTION 09 // FLOW
ENCRYPTION PATH // DATA + RECOVERY EVIDENCE

End-to-End Encryption Flow

One encryption operation coordinates two distinct outputs: the protected object bytes and the separate K3Y recovery artifact. Each control has one job—transform the payload, authenticate the ciphertext, construct Trust, protect recovery state, and optionally add post-quantum protection.

OPERATING RULE One operation. Two governed outputs.

Ciphertext follows the object-storage path. Seed and Trust recovery state follow the separate K3Y path.

Encryption Control Path

StageControlInput → outputWhat is established
01Resolve operation contextObject URIs + key references + policy contextThe source, destination, K3Y location, required gates, signing identity, and optional PQC references are fixed before protected work begins.
02Generate + transformPlaintext + fresh 384-bit seed → ciphertextA fresh per-operation Particle seed drives the position-addressable XOR stream. The keystream is applied to the payload bytes; raw seed and keystream are not emitted with the ciphertext.
03Commit integrityCiphertext chunks → GMAC evidencePer-chunk GMAC tags and the integrity summary are generated over the ciphertext and committed into Trust for later verification.
04Build + seal TrustSeed + integrity + provenance + gates → K3YTrust is assembled, signed with the configured ECDSA-P384 identity, and protected by AES-256-GCM with the required gated context bound to the recovery path.
05Apply optional PQC adjunctsK3Y / Trust → PQ-protected recovery stateWhen configured, ML-KEM protects the K3Y recovery path and ML-DSA / SLH-DSA add independent post-quantum authentication evidence.

What the Operation Emits

DATA PATH Ciphertext object plaintext ⊕ Particle stream → ciphertext

Protected payload bytes are written to the customer-selected object destination. The Particle seed is not stored with this object.

+
RECOVERY PATH K3Y Trust capsule seed + Trust + integrity + gates → protected K3Y

The recovery artifact is written separately so its IAM, retention, key access, and policy controls can be governed independently from the ciphertext.

OutputContainsDoes not containRecovery role
CiphertextParticle-transformed payload bytesRaw Particle seed, private keys, plaintextProvides the protected data object that must be paired with its corresponding recovery path.
K3YProtected Trust, seed recovery state, integrity commitments, provenance, and policy contextThe ciphertext payload itselfProvides the protected state needed to authorize, verify, and reconstruct recovery.
DECRYPT RELEASE RULE

Restored plaintext is committed only after the corresponding K3Y path, required gates, configured signatures, and ciphertext-integrity evidence validate. The decrypt path is deliberately fail-closed: recovery authorization is established from Trust/K3Y first, ciphertext integrity is verified as part of restoration, and the output sink is not committed on a failed operation. The patched core path additionally verifies each ciphertext chunk before that chunk is released to the plaintext writer.

ΞNIGMA 3.0 // SECTION 10 // INTEGRATION + APICLOUD REST / OBJECT URIs + NATIVE RUST / BYTE STREAMS
ΞNIGMA INTEGRATION MODEL // CHOOSE THE I/O BOUNDARY

Two ways to call ΞNIGMA. Same Particle + Trust core.

Cloud/object mode is a REST control plane over customer storage and customer key URIs. Native byte mode is the Rust crate itself: the application supplies readers, writers, key bytes, policy context, and receives ciphertext/K3Y/Trust directly. The security model is shared; the integration boundary is different.

CLOUD / OBJECTJSON → object URIs → key URIsBest when the protected workload already lives in Blob/S3/GCS and the deployment should resolve keys from Vault/KMS/HSM by reference.
OR
NATIVE / BYTERead/Write → crate → artifactsBest when a service or appliance already owns the bytes and wants to embed encrypt/decrypt/re-encrypt directly without a storage URI hop.
SURFACE A // REST CONTRACT // URI-BASED CLOUD OPERATIONS

Cloud / Object API

Eleven authenticated routes coordinate encryption, recovery, re-encryption, raw entropy issuance, provisioning, and diagnostics. Requests exchange JSON, object locations, and key references; payload bytes remain on the customer-controlled storage path rather than being carried inline through the control-plane request.

CLOUD BOUNDARY JSON coordinates. Object URIs carry bytes. Key URIs preserve custody.

The customer-deployed service resolves the references inside its runtime and writes ciphertext, K3Y, and authorized Trust/JSON evidence to customer-controlled destinations.

SURFACE A // CLOUDStorage and key systems are addressed by reference.az:// · s3:// · gcs:// for data; kv:// · kvk:// for customer-controlled key material.

Interface Contract

Service endpointhttps://<customer-endpoint>/Customer-controlled deployment endpoint inside the selected VNet, cluster, VM, or container environment.
AuthenticationAuthorization: Bearer $TOKENBearer authentication is required; JWT may be enabled where the deployment is configured for it.
Payload modelObject URIsEncrypt/decrypt requests reference source and destination objects instead of embedding payload bytes in JSON.
Key modelVault / managed-key referencesRequests identify the AES, signing, and optional PQC material required for the operation.
Response modelJSON status + Trust / URI metadataResponses report operation state and authorized metadata while the protected object remains on its storage path.

Route Index

ClassMethodRoutePurpose
JobPOST/v1/jobSubmit asynchronous encrypt, decrypt, or reencrypt work.
GET/v1/job/{id}Read job status through a terminal result.
CryptoPOST/v1/encryptSynchronously protect a referenced object.
POST/v1/decryptSynchronously restore a referenced object after validation.
POST/v1/reencryptRotate K3Y / Trust metadata while preserving the existing ciphertext and Particle seed context.
POST/v1/entropyIssue sealed random bytes directly, without an input object to transform.
POST/v1/keygenProvision the deployment key/reference set.
POST/v1/unwrapInspect authorized K3Y Trust metadata without restoring payload bytes.
DiagnosticsGET/v1/healthRead service readiness and configured crypto posture.
POST/v1/testRun the deployment roundtrip fitness check.
POST/v1/katRun known-answer cryptographic self-checks.
ASYNC CONTROL PATH

Job Operations

The job API separates submission from completion. A client submits an encrypt, decrypt, or reencrypt operation, receives a job identifier immediately, and polls the status resource while the byte operation executes inside the customer-controlled boundary.

CONTRACT POST once. Poll by ID. Stop on a terminal result.

Payload bytes are referenced by URI; they are not carried inline through the control-plane request.

Job Lifecycle

StageAPI actionWhat happensClient responsibility
ACCEPT202 AcceptedThe service returns job_id and status_uri immediately.Persist the returned job identifier.
EXECUTEIn-boundary processingΞNIGMA reads the referenced object, performs encrypt or decrypt, and writes the result to the requested destination.No inline payload transfer is required.
POLLGET /v1/job/{id}The status resource reports the current job state.Poll until the job reaches succeeded or failed.
COMPLETETerminal statusSuccess exposes result/Trust metadata and the K3Y URI; failure exposes error information.Consume the result or handle the failure.
POST/v1/job
Async · 202 Accepted

Submit an encrypt, decrypt, or reencrypt job. The request describes where the bytes and key material live and which controls apply; the operation itself runs asynchronously inside the cloud boundary.

Request Contract

LayerFieldReq.Purpose / behavior
JOBtypeRequired"encrypt", "decrypt", or "reencrypt". Determines whether bytes are protected, restored, or re-bound to a rotated Trust/K3Y recovery context.
source_uriRequiredObject URI read as input — plaintext for encrypt, ciphertext for decrypt, or ciphertext for reencrypt. Example format: az://container/path.
destination_uriRequiredObject URI receiving output — ciphertext for encrypt, plaintext for decrypt, or the updated K3Y output path for reencrypt.
k3y_uriConditionalSeparate K3Y location. Encrypt writes the new capsule here; decrypt reads the source capsule from this path; reencrypt uses it as the source K3Y to rotate into a refreshed recovery bundle.
idOptionalStable payload identifier carried into Trust/job metadata for audit and correlation.
codesOptionalString array committed into the gated cryptographic context. Incorrect values are expected to cause decrypt authentication failure.
enforceOptionalPolicy string committed into the gated context and expected to match at decrypt.
infoOptionalAudit / provenance metadata carried in Trust; not presented here as a decrypt gate.
FIPS COREaes_256_gcm_uriRequiredKey Vault secret URI for the 32-byte AES-256-GCM key used to seal/unseal the K3Y Trust capsule.
ecdsa_p384_uriRequired for encrypt/reencryptPrimary ECDSA-P384 signing key reference. kv:// may reference a secret; kvk:// may reference a managed Key Vault key.
ecdsa_p384_secondary_uriOptionalSecondary P-384 key for dual-signature coverage; when configured, both signatures must verify.
expected_ecdsa_pk_sha256_hexOptionalSHA-256 digest of the expected signer public key, checked on decrypt before restored bytes are committed.
expected_ecdsa_pk_hexOptionalFull expected P-384 public key, used as an alternative to the digest form.
PQC ADJUNCTkyber_768_uriOptionalML-KEM-768 key reference: public material for encrypt and private material for decrypt when the PQC adjunct is enabled.
ml_dsa_uriOptionalML-DSA signing / verification key reference for the Trust capsule when configured.
slh_dsaOptionalSLH-DSA signing / verification key reference for the optional hash-based signature layer.

Accepted Response

{
  "job_id": "job-audit-q2",
  "status": "accepted",
  "status_uri": "/v1/job/job-audit-q2"
}

Submit Example

curl "$BASE_URL/v1/job" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "encrypt",
    "source_uri": "az://data/in/audit",
    "destination_uri": "az://data/enc/audit",
    "k3y_uri": "az://trust/audit.k3y",
    "aes_256_gcm_uri": "kv://keys/enigma",
    "codes": ["7842","11903"],
    "enforce": "tenant:contoso policy:v3"
  }'
GET/v1/job/{id}
Poll · 200 OK

Fetch the status record for the job_id returned at submission. Continue polling until the status is "succeeded" or "failed".

Field / stateMeaning
id path parameterThe job_id returned by POST /v1/job.
acceptedThe service accepted the asynchronous operation and issued a status resource.
succeededThe operation completed. Trust/result metadata and the K3Y location can be returned on the status record.
failedThe operation terminated without success. Failure information can include error, error_code, and error_label.

Successful Status Record

{
  "job_id": "job-audit-q2",
  "status": "succeeded",
  "k3y_uri": "az://trust/audit.k3y",
  "trust": { "trust_id": "...", "fips": true },
  "error": null
}
OPERATIONAL RULE

The job record is the coordination object; the cloud object URIs remain the data path. Submission tells ΞNIGMA where to work, polling tells the client when that work is finished, and K3Y/Trust references remain separate from the ciphertext object.

SYNCHRONOUS CLOUD CRYPTO PATH

Synchronous REST Cryptographic Operations

Six synchronous REST endpoints expose the cloud/object workflow without the asynchronous job lifecycle: protect a referenced object, restore a referenced object, rotate Trust/K3Y for the same ciphertext, issue sealed random bytes, provision the deployment key set, or inspect K3Y Trust metadata. These remain URI-based service calls. The native byte/crate surface is documented separately below.

BOUNDARY Bytes move by URI. K3Y remains separate. Trust is returned as metadata.

Encrypt, decrypt, and reencrypt operate on referenced objects inside the customer boundary; entropy issues raw sealed bytes with no source object; unwrap inspects the capsule without processing the ciphertext payload.

Operation Matrix

OperationEndpointPrimary inputPrimary result
EncryptPOST /v1/encryptPlaintext object + key/policy referencesCiphertext object + separate K3Y + Trust JSON
DecryptPOST /v1/decryptCiphertext object + K3Y + matching controlsRestored plaintext + Trust JSON
ReencryptPOST /v1/reencryptCiphertext object + source K3Y + updated key / Trust referencesUpdated K3Y bundle and rotated Trust metadata for the same ciphertext
EntropyPOST /v1/entropyByte count + key/policy references (no source object)Sealed random bytes, optional object write, K3Y + Trust JSON
KeygenPOST /v1/keygenVault target + naming policyStable URIs for the generated key set
UnwrapPOST /v1/unwrapK3Y + unseal/verification referencesAuthorized Trust metadata; payload untouched
POST/v1/encrypt
Sync · 200 OK

Synchronous direct encrypt. Reads plaintext from source_uri, applies the configured Particle XOR transform and FIPS cryptographic sealing in-boundary, writes ciphertext to destination_uri, writes the K3Y capsule to k3y_uri, and returns Trust JSON inline. The type field is inferred from the path.

Encrypt Request Contract

LayerFieldReq.Purpose
INPUTSsource_uriRequiredBlob URI of the plaintext bytes to encrypt.
destination_uriRequiredBlob URI that receives the ciphertext bytes.
k3y_uriConditionalSeparate Blob path where encrypt writes the .k3y capsule for later decrypt or unwrap.
idOptionalStable payload identifier recorded in Trust metadata for audit correlation.
codes / enforce / infoOptionalPolicy codes, enforcement payload, and audit metadata committed into the seal context.
FIPS COREaes_256_gcm_uriRequiredKey Vault URI for the AES-256-GCM key that seals the K3Y Trust capsule.
ecdsa_p384_uriRequiredPrimary P-384 signing key. kv:// may reference a secret; kvk:// may reference a managed Key Vault key.
ecdsa_p384_secondary_uriOptionalSecondary P-384 signing key for dual-signature coverage.
PQC ADJUNCTkyber_768_uriOptionalML-KEM-768 recipient public key URI used when the K3Y is post-quantum wrapped.
ml_dsa_uriOptionalML-DSA signing key URI used to append the configured Trust signature adjunct.
slh_dsaOptionalSLH-DSA signing key URI used to append the configured hash-based signature adjunct.

Response · Trust JSON

{
  "trust_id": "trust-abc123",
  "payload_id": "audit-q2",
  "ciphertext_uri": "az://data/enc/audit",
  "k3y_uri": "az://trust/audit.k3y",
  "fips": true,
  "pqc": { "ml_kem": true }
}

Example

curl "$BASE_URL/v1/encrypt" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "source_uri": "az://data/in/audit",
    "destination_uri": "az://data/enc/audit",
    "k3y_uri": "az://trust/audit.k3y",
    "aes_256_gcm_uri": "kv://keys/enigma",
    "kyber_768_uri": "kv://keys/ml-kem-pub"
  }'
POST/v1/decrypt
Sync · 200 OK

Synchronous direct decrypt. Reads the K3Y capsule, unseals it with the AES key, verifies the configured policy commitments and signer expectations, then reads ciphertext and writes restored plaintext to destination_uri. Optional PQC adjuncts are verified when they were present during encrypt.

Decrypt Request Contract

LayerFieldReq.Purpose
INPUTSsource_uriRequiredBlob URI of the ciphertext bytes produced by the original encrypt operation.
destination_uriRequiredBlob URI that receives restored plaintext after verification succeeds.
k3y_uriRequiredBlob URI of the K3Y capsule produced during encrypt.
codes / enforce / infoOptionalValues supplied for the corresponding committed context at decrypt.
FIPS COREaes_256_gcm_uriRequiredKey Vault URI for the AES-256-GCM key used to unseal the K3Y capsule.
expected_ecdsa_pk_sha256_hexOptionalSHA-256 digest of the expected signer public key, checked before restored bytes are committed.
expected_ecdsa_pk_hexOptionalFull expected P-384 public key; alternative to the digest form.
PQC ADJUNCTkyber_768_uriOptionalML-KEM-768 private key URI when the incoming K3Y was post-quantum wrapped.
ml_dsa_uriOptionalML-DSA verification key URI when the capsule carries the configured adjunct signature.
slh_dsaOptionalSLH-DSA verification key URI when the capsule carries the configured hash-based adjunct signature.
FAIL-CLOSED DECRYPT

No plaintext is committed when a required integrity, commitment, or signature check fails. GMAC chunk verification, K3Y authentication, policy context, and configured signer expectations are part of the restoration gate.

Example

curl "$BASE_URL/v1/decrypt" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "source_uri": "az://data/enc/audit",
    "destination_uri": "az://data/out/audit",
    "k3y_uri": "az://trust/audit.k3y",
    "aes_256_gcm_uri": "kv://keys/enigma",
    "kyber_768_uri": "kv://keys/ml-kem-sk"
  }'
POST/v1/reencrypt
Sync · 200 OK

Re-encrypts the same ciphertext under a refreshed K3Y/Trust context without rewriting the original payload bytes. The service verifies the existing ciphertext against the source K3Y and then emits a rotated K3Y bundle with updated AES, signer, policy, and optional PQC references. This is a metadata-and-recovery rotation operation, not a second plaintext encrypt pass.

Reencrypt Request Contract

LayerFieldReq.Purpose
INPUTSsource_uriRequiredBlob URI of the ciphertext bytes already protected by the original encrypt operation. Bytes are read but never rewritten by reencrypt.
destination_uriRequiredBlob URI that receives the refreshed K3Y bundle output. This is a K3Y write target, not a ciphertext copy.
k3y_uriRequiredSource capsule URI containing the original K3Y and Trust metadata that must be reopened and rotated.
aes_256_gcm_uriRequiredAES-256-GCM key that opens the existing (source) K3Y capsule before rotation.
updated_aes_256_gcm_uriRequiredNew AES-256-GCM key reference used to seal the refreshed K3Y capsule.
FIPS COREecdsa_p384_uriRequiredNew primary ECDSA-P384 signer used to produce the updated Trust signature envelope.
ecdsa_p384_secondary_uri / updated_ecdsa_p384_secondary_uriOptionalSecondary signer for the refreshed Trust bundle. updated_ecdsa_p384_secondary_uri overrides when the secondary signer itself is being rotated.
expected_ecdsa_pk_sha256_hex / expected_ecdsa_pk_hexRequired (one of)Expected signer pin used to authenticate the existing Trust/K3Y before the rotate step is accepted.
PQC ADJUNCTkyber_768_uri / source_kyber_768_uri / updated_kyber_768_uriOptionalML-KEM private key to open the source K3Y (kyber_768_uri or the source_* override) and the new public key for the rotated K3Y (updated_kyber_768_uri, falling back to kyber_768_uri).
ml_dsa_uri / source_ml_dsa_uri / updated_ml_dsa_sk_uri / updated_ml_dsa_pk_uriOptionalML-DSA verification key for the source Trust and signing/verification keys for the rotated Trust, when the PQ signature adjunct is configured.
slh_dsa / source_slh_dsa / updated_slh_dsa_sk_uri / updated_slh_dsa_pkOptionalSLH-DSA verification key for the source Trust and signing/verification keys for the rotated Trust, when the hash-based adjunct is configured.
POLICY / AUDITcodes / enforce / infoOptionalBase policy and audit values. Used for both source verification and the updated Trust unless overridden below.
source_codes / source_enforce / source_infoOptionalOverrides used only to authenticate the existing source Trust/K3Y, when they differ from the values being written forward.
updated_codes / updated_enforce / updated_info / updated_idOptionalOverrides bound into the newly rotated Trust context; when omitted, the base codes / enforce / info values are reused.
REENCRYPT IS VERIFIED, NOT BLIND

The source ciphertext and source K3Y are re-validated before the rotate step commits. The operation preserves the original payload semantics while constructing a new Trust/K3Y bundle and updated recovery context under the selected key and policy controls.

Example

curl "$BASE_URL/v1/reencrypt" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "source_uri": "az://data/enc/audit",
    "destination_uri": "az://trust/audit-rotated.k3y",
    "k3y_uri": "az://trust/audit.k3y",
    "aes_256_gcm_uri": "kv://keys/enigma",
    "updated_aes_256_gcm_uri": "kv://keys/enigma-rotated",
    "ecdsa_p384_uri": "kvk://keys/finance-es384-rotated",
    "expected_ecdsa_pk_sha256_hex": "deadbeef...",
    "codes": ["7842","11903"],
    "enforce": "tenant:contoso policy:v4"
  }'
POST/v1/entropy
Sync · 200 OK

Issues raw, FIPS-backed random bytes directly, without reading a source object to transform. The requested byte count is generated, optionally written to destination_uri, and always sealed into a K3Y/Trust bundle so the same bytes can be authenticated and accounted for like any other protected artifact.

Entropy Request Contract

LayerFieldReq.Purpose
INPUTSbytesRequiredNumber of random bytes to generate. Bounded by the deployment's configured max chunk size.
destination_uriOptionalBlob URI that receives the generated bytes; when omitted, only the sealed K3Y/Trust bundle is produced.
k3y_uriOptionalBlob URI that receives the K3Y capsule sealing the generated bytes' Trust/provenance context.
codes / enforce / infoOptionalPolicy and audit metadata committed into the sealed Trust context for the issued entropy.
FIPS COREaes_256_gcm_uriRequiredAES-256-GCM key reference used to seal the K3Y Trust capsule for the generated bytes.
ecdsa_p384_uri / ecdsa_p384_secondary_uriRequired / OptionalPrimary (required) and optional secondary P-384 signer for the Trust signature envelope.
PQC ADJUNCTkyber_768_uriOptionalML-KEM-768 public key reference used when the K3Y is post-quantum wrapped.
ml_dsa_uriOptionalML-DSA signing key reference for the configured Trust signature adjunct.
slh_dsaOptionalSLH-DSA signing key reference for the configured hash-based signature adjunct.

Response

{
  "bytes": 48,
  "trust_id": "trust-entropy-9f2",
  "qscc_id": "qscc-9f2",
  "trust": { "trust_id": "...", "fips": true },
  "k3y_uri": "az://trust/entropy-9f2.k3y",
  "destination_uri": "az://data/random/entropy-9f2.bin"
}

Example

curl "$BASE_URL/v1/entropy" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "bytes": 48,
    "destination_uri": "az://data/random/entropy-9f2.bin",
    "k3y_uri": "az://trust/entropy-9f2.k3y",
    "aes_256_gcm_uri": "kv://keys/enigma",
    "ecdsa_p384_uri": "kvk://keys/finance-es384"
  }'
POST/v1/keygen
Sync · 200 OK

Generates the deployment key set into the named Key Vault and returns stable URIs for later encrypt, decrypt, and unwrap calls. The FIPS core includes AES-256-GCM plus primary and secondary ECDSA-P384 material; optional PQC adjunct keys are generated when that build capability is enabled.

Provisioning Contract

GroupFieldReq.Purpose
VAULTvaultRequiredKey Vault name or base URL where generated material is written.
NAMINGprefixOptionalShared name prefix for generated keys. Default: "il7"; per-environment prefixes isolate key sets.
key_nameOptionalOverride for the AES-256-GCM key name. Default: "{prefix}-aes".
ecdsa_secondary_nameOptionalOverride for the secondary ECDSA-P384 key name.

Returned Key Families

StackReturned references
FIPS coreaes_256_gcm, ecdsa_p384, ecdsa_p384_secondary
PQC adjunctkyber_768_pub/sk, ml_dsa_pk/sk, slh_dsa_pk/sk

Example

curl "$BASE_URL/v1/keygen" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "vault":"pqc-kv", "prefix":"finance-prod" }'

Response · 200 OK

{
  "status": "ok",
  "vault": "pqc-kv",
  "prefix": "finance-prod",
  "uris": {
    "aes": "kv://pqc-kv/finance-prod-aes",
    "ecdsa": "kvk://pqc-kv/finance-prod-es384",
    "ml_kem_pub": "kv://pqc-kv/finance-prod-ml-kem-pub",
    "ml_kem_sk": "kv://pqc-kv/finance-prod-ml-kem-sk"
  },
  "additional": ["ML-DSA", "SLH-DSA"]
}
POST/v1/unwrap
Sync · 200 OK

Unseals a K3Y capsule and returns authorized Trust metadata without processing the ciphertext payload. Use it for audit inspection, provenance review, SIEM ingestion, and compliance reporting where plaintext restoration is not required.

Unwrap Request Contract

LayerFieldReq.Purpose
CAPSULEk3y_uriRequiredBlob URI of the K3Y capsule to unseal.
aes_256_gcm_uriRequiredKey Vault URI for the AES-256-GCM key that unseals the capsule.
CONTEXTcodes / enforce / infoOptionalValues supplied for the corresponding committed context from the original encrypt operation.
PQC VERIFYkyber_768_uriOptionalML-KEM-768 private key URI when the K3Y was KEM-wrapped during encrypt.
ml_dsa_uriOptionalML-DSA verification key URI when the capsule contains that adjunct signature.
slh_dsaOptionalSLH-DSA verification key URI when the capsule contains that adjunct signature.
OUTPUTreturnOptional"trust_json" returns the parsed Trust record as structured JSON; omit for the raw capsule output.
AUDIT PATH

Unwrap does not restore payload bytes. It validates and exposes authorized Trust metadata from the K3Y artifact while leaving the ciphertext object untouched.

Example

curl "$BASE_URL/v1/unwrap" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "k3y_uri": "az://trust/audit.k3y",
    "aes_256_gcm_uri": "kv://keys/enigma",
    "codes": ["7842","11903"],
    "enforce": "tenant:contoso policy:v3"
  }'
DIRECT-OPERATION RULE

Encrypt, decrypt, keygen, and unwrap are synchronous controls over the same separated architecture. Payload objects stay on the cloud data path, K3Y remains a distinct recovery artifact, and Trust provides the review/audit record returned by the operation.

SERVICE FITNESS + CRYPTO SELF-CHECKS

Diagnostics

Three endpoints cover three different questions: Is the service ready? Can the deployment complete a full in-memory roundtrip? and Do the configured cryptographic primitives pass their known-answer checks?

USE THE RIGHT PROBE Health is readiness. Test is deployment fitness. KAT is cryptographic self-check.

Keeping the probes separate makes failures easier to localize and review.

Diagnostic Matrix

ProbeEndpointWhat it validatesPrimary output
HealthGET /v1/healthService readiness, version, FIPS posture, entitlement, provider summary, and configured limits.Current readiness/status record.
Roundtrip testPOST /v1/testIn-memory encrypt → decrypt fitness path plus timing and throughput.Bytes, wall time, and throughput metrics.
KATPOST /v1/katKnown-answer checks against the live cryptographic implementation.Pass/fail state and optional vectors.
GET/v1/health
Readiness · 200 OK

Use the health endpoint as the liveness/readiness probe. It reports whether the service is operational and exposes the configuration facts an operator needs before sending protected work.

AreaReported stateReview purpose
Servicestatus, versionConfirms the running build and basic service state.
FIPSFIPS posture / providerConfirms the expected cryptographic provider boundary is active.
EntitlementProvider + ok stateShows whether protected operations are enabled for the deployment.
LimitsChunk and in-flight controlsSurfaces the effective request/stream operating limits.
CryptoSymmetric, signing, PQC summaryProvides a concise view of the configured cryptographic stack.

Example Response

{
  "status": "ok",
  "version": "il7-1.0.0",
  "fips": true,
  "entitlement": { "ok": true, "provider": "azure" },
  "limits": { "xor_chunk_mb": 16, "max_inflight": 8 },
  "crypto": { "symmetric": "AES-256-GCM/GMAC", "signing": "ECDSA-P384", "pqc": "enabled" }
}
POST/v1/test
Fitness · 200 OK

Builds a synthetic payload in memory and runs a complete encrypt → decrypt roundtrip without touching external storage. Use it after provisioning to confirm the deployment path and establish an in-boundary performance baseline.

Input / metricReq.Meaning
health_mbOptionalSynthetic payload size in MB. An empty body is accepted; larger values increase throughput and memory pressure.
requested_bytesOutputTotal bytes exercised by the roundtrip.
enc_wall_sOutputMeasured encryption wall time.
dec_wall_sOutputMeasured decryption wall time.
roundtrip_sOutputTotal measured roundtrip duration.
tput_gib_sOutputReported in-boundary throughput for the synthetic test.

Request

curl "$BASE_URL/v1/test" \
  -H "Authorization: Bearer $TOKEN" \
  -d '{ "health_mb":64 }'

Response

{
  "requested_bytes": 1048576,
  "tput_gib_s": 3.421,
  "enc_wall_s": 0.141,
  "dec_wall_s": 0.148,
  "roundtrip_s": 0.289
}
POST/v1/kat
Known-answer tests

Runs the known-answer-test suite against the live cryptographic implementation. A full pass returns 200; a vector failure returns an error state suitable for compliance and release-review workflows.

OptionReq.Behavior
emitOptionalWhen true, emits test vectors for export / external tooling rather than the normal executed-check view.
compactOptionalWhen true, omits full hexadecimal vectors and returns a concise result summary.

Coverage

LayerCovered algorithms / constructions
Derivation + MACHKDF-SHA-384 · HMAC-SHA-256 · GMAC-256
Authenticated sealAES-256-GCM
Classical signingECDSA-P384 / SHA-384
Bound contextAAD_v1 · Trust ID_v1 construction
PQC adjunctKyber-768 / ML-KEM · ML-DSA · SLH-DSA when enabled

Compact Run

curl "$BASE_URL/v1/kat" \
  -H "Authorization: Bearer $TOKEN" \
  -d '{ "compact":true }'
DIAGNOSTIC RULE

A green health probe does not replace a roundtrip or a KAT. Health answers whether the service is ready; /v1/test exercises the deployed data path in memory; /v1/kat checks cryptographic vectors. Run the layer that matches the question being investigated.

LOCAL / AIR-GAPPED STREAMING INTERFACE

ΞNIGMA 3.0 Binary Interface

Restricted local commands expose encrypt, decrypt, Trust inspection, and test-key generation without cloud staging. Payload data streams through stdin and stdout; key material is supplied explicitly to the process.

ACCESS MODEL Local stream in. Local stream out.

Use requires approved access / use-case controls. Binary flags use explicit hexadecimal key material rather than cloud key URIs.

Command Matrix

CommandInputOutputPrimary purpose
encryptPlaintext on stdinRaw ciphertext or bundled K3Y + ciphertextProtect a local stream using the configured FIPS core and optional PQC adjuncts.
decryptBundle or raw ciphertext on stdinVerified plaintext on stdoutRestore bytes after K3Y, gate, and signer verification succeed.
trustK3Y on stdinRedacted Trust JSONInspect authorized Trust metadata without processing payload bytes.
keygenSelector + required environmentLocal test key filesGenerate AES, P-384, ML-KEM/Kyber, ML-DSA, and SLH-DSA test material.
BUNDLE FORMAT [4-byte big-endian K3Y length] [K3Y capsule] [ciphertext]

Bundled decrypt reads the embedded K3Y directly; raw-ciphertext decrypt requires the K3Y to be supplied separately.

Flag Contract by Command

CommandRequired / primary controlsOptional / conditional controlsNotes
encrypt --aes-hex
--ecdsa-sk-hex
--ecdsa-secondary-sk-hex
--kyber-pub-hex
--ml-dsa-sk-hex / --ml-dsa-pk-hex
--slh-dsa-sk-hex / --slh-dsa-pk-hex
--id · repeatable --code · --info-hex · --enforce-hex · --bundle
--bundle emits K3Y and ciphertext as one framed stream.
decrypt --aes-hex
one expected signer pin
--k3y-hex for raw ciphertext
--expect-ecdsa-pk-hex or --expect-ecdsa-pk-sha256-hex
--kyber-sk-hex · --ml-dsa-pk-hex · --slh-dsa-pk-hex
repeatable --code · --info-hex · --enforce-hex
Bundle input embeds K3Y, so --k3y-hex is omitted.
trust --aes-hex --kyber-sk-hex · --ml-dsa-pk-hex · --slh-dsa-pk-hex
--code · --info-hex · --enforce-hex
Returns redacted Trust JSON; payload bytes are not restored.
keygen all | fips | pqc
IL7_ALLOW_GENKEYS=1
AWS_LC_RUST_FIPS=1
--features both / combined test stack where required Writes the configured local test key set under data/keys/.

Local Roundtrip

export AWS_LC_RUST_FIPS=1
IL7_ALLOW_GENKEYS=1 il7 keygen all

cat audit.dat | il7 encrypt \
  --aes-hex "$AES" --ecdsa-sk-hex "$ECDSA_SK" \
  --kyber-pub-hex "$ML_KEM_PK" --bundle > audit.enigma

cat audit.enigma | il7 decrypt \
  --aes-hex "$AES" --expect-ecdsa-pk-hex "$ECDSA_PK" \
  --kyber-sk-hex "$ML_KEM_SK" > audit.restored

cmp audit.dat audit.restored
cat audit.k3y | il7 trust --aes-hex "$AES" --kyber-sk-hex "$ML_KEM_SK"
LOCAL-INTERFACE RULE

The binary changes the transport surface, not the cryptographic responsibilities. Local streams replace cloud object URIs, but K3Y separation, gate validation, signer verification, and the FIPS/PQC role split remain the same review concerns.

REST DOCS // INTERNAL VALIDATION + ASSURANCE

Every critical path is tested for success, failure, and recovery.

ΞNIGMA’s internal validation system continuously exercises the same cryptographic behaviors the platform depends on in production: FIPS readiness, complete key material, Particle encrypt/decrypt correctness, K3Y and Trust recovery, policy-gate enforcement, re-encryption, metering, diagnostics, and release-state integrity. The goal is not simply to prove that the happy path works; it is to prove that invalid state is rejected, recovered bytes are correct, evidence is emitted, and each supported release configuration behaves as expected.

ASSURANCE BOUNDARY INTERNAL VALIDATION Release readiness · regression control · security evidence · compliance support
01
Security invariants are tested as contracts.

Each validation path has an expected outcome: valid state must complete, invalid state must fail closed, protected artifacts must remain internally consistent, and recovered plaintext must match the original data. Tests also preserve reviewable evidence—status, Trust, timing, metering, K3Y, ciphertext, and restored-output artifacts—so failures can be investigated instead of reduced to a single pass/fail flag.

Assurance domainAutomated invariantRequired result
RELEASE READINESSFIPS-only and FIPS + PQC profiles build and execute successfully.No profile inherits confidence from another build; each supported release posture must stand on its own.
KEY READINESSAES, primary/secondary P-384, ML-KEM/Kyber, ML-DSA, and SLH-DSA material is complete before full-stack validation proceeds.Partial key state is treated as not ready.
ROUNDTRIP CORRECTNESSEncrypt → decrypt returns the expected byte count and original content.Length and independent SHA-256 checks must agree with the source.
FAIL-CLOSED POLICYWrong, incomplete, or absent gated material is deliberately exercised.Decrypt must reject invalid codes or enforce state.
TRUST + K3YK3Y recovery, signer expectations, policy bindings, and redacted Trust output are validated.Authorized Trust is recoverable; incomplete or mismatched recovery state is rejected.
STATE TRANSITIONRe-encryption rotates protected state and then decrypts under only the updated state.Updated K3Y must recover the original plaintext; source-state assumptions must not silently carry forward.
USAGE EVIDENCEEncrypt/decrypt meter events carry bytes, timing, throughput, identifiers, digests, and idempotency material.Metering remains reviewable without changing the underlying cryptographic path.
DIAGNOSTICSHealth, runtime test, and known-answer-test reporting are exercised as part of readiness validation.Provider, algorithm, and deployment-health failures surface before production use.
INTERNAL TEST COVERAGE

What is continuously exercised

Validation areaWhat the internal test doesWhat it proves
Release build matrixBuilds and runs the supported FIPS-only and combined FIPS + PQC configurations with the FIPS provider enabled.Feature combinations are validated independently and cannot silently rely on another profile’s success.
Health + provider readinessExecutes the production health path and captures version, FIPS provider state, algorithm availability, entitlement state, and configured limits.The running release reports the expected cryptographic posture before data operations begin.
Complete key generationGenerates and validates AES, primary + secondary ECDSA-P384, ML-KEM/Kyber, ML-DSA, and SLH-DSA material.No full-stack test proceeds with empty or incomplete cryptographic material.
Encrypt/decrypt roundtripEncrypts a real sample, emits ciphertext and K3Y, decrypts with signer expectations and policy state, and records phase timing.Written byte counts match the source and the complete recovery path functions end to end.
Independent plaintext verificationCompares the source and restored output with an external SHA-256 calculation.Roundtrip correctness is checked outside the cryptographic process itself rather than trusted from an internal success return.
K3Y + Trust inspectionRecovers K3Y from the supported artifact forms, unwraps authorized Trust, validates required crypto material, and persists a redacted Trust view.Recovery metadata remains separable from payload bytes and requires the expected cryptographic/policy context.
Wrong-code rejectionAttempts decrypt with an incorrect code and, where multiple codes are required, with incomplete subsets before the complete expected set is supplied.Codes behave as an ordered, required gate rather than advisory metadata.
Wrong or missing enforce rejectionAttempts decrypt with mismatched enforce data and with enforce omitted, then repeats with the correct authenticated value.Enforce is bound into authentication and invalid policy context fails closed.
Info non-gating behaviorExercises encrypt/decrypt while allowing informational metadata to differ where the design permits it.Audit/analytics metadata is not accidentally promoted into a recovery gate.
Re-encryption + policy rotationEncrypts under source AES/codes/info/enforce, creates updated protection state, then decrypts using the updated AES and policy context.The transition source state → updated K3Y → restored plaintext is complete and deterministic.
Metering integrityCaptures canonical encrypt/decrypt usage events with bytes, wall time, throughput, Trust/QSCC digests, payload/call identifiers, marketplace fields, and an idempotency key.Commercial/usage telemetry can be reviewed independently without introducing a separate test-only crypto implementation.
Known-answer and runtime diagnosticsRuns algorithm self-checks and deployment-level test operations alongside health reporting.Cryptographic primitives and the deployed execution path are checked before customer workloads depend on them.
Artifact and log evidencePersists status JSON, redacted Trust, K3Y, ciphertext, restored output, timing, and metering artifacts with stable and run-specific identifiers.Regression review has concrete evidence rather than only console output.
Error-path handlingDeliberately exercises missing samples, invalid lengths, failed child operations, incomplete key state, mismatched policy, and other invalid inputs.Failure conditions terminate the validation path instead of being downgraded to warnings.
ASSURANCE DESIGN

Patterns enforced across the internal test system

Security + correctness discipline
#PatternWhy it matters
01Positive and negative paths are pairedA successful decrypt is never treated as sufficient evidence by itself; the same gate is challenged with wrong and missing state to prove rejection behavior.
02Every supported crypto profile is exercisedFIPS-only and FIPS + PQC builds are validated independently so feature combinations cannot hide configuration regressions.
03Independent data verificationRecovered content is checked by length and external SHA-256, creating a second correctness oracle outside the core operation.
04Artifacts are first-class evidenceStatus, Trust, K3Y, ciphertext, restored output, timing, and usage records are retained in reviewable forms for regression and audit work.
05State transitions are tested end to endRe-encryption must end with successful recovery under the updated state; metadata rotation alone does not count as success.
06Complete cryptographic state is requiredMissing or empty key families fail readiness instead of allowing a partially configured stack to appear healthy.
07Policy semantics are tested explicitlycodes and enforce are proven as gates while info is proven as non-gating metadata, preventing accidental semantic drift.
08Production behavior is reusedRoundtrip, Trust, re-encryption, diagnostics, and metering validation exercise the same operational primitives rather than duplicate cryptographic logic for tests.
09Metering is observable but non-invasiveUsage evidence is captured around canonical operations, so commercial telemetry can be validated without becoming part of the encryption algorithm.
10Timing is decomposedRead, cryptographic, write, Trust, and total wall-time measurements make regressions attributable instead of collapsing all latency into one number.
11Output paths and artifacts are constrainedGenerated test artifacts are normalized and bounded so validation itself does not introduce unsafe path behavior.
12Failure is evidenceExpected rejection is captured deliberately and counted as a passing security property only when the invalid operation actually fails.
FAIL-CLOSED CONTRACT

Invalid recovery state is rejected. Complete recovery state is verified before release.

A successful decrypt proves only the positive path. Internal assurance also challenges each required gate with incorrect, incomplete, and missing state. Recovery succeeds only when the expected gated context is present and valid.

Invalid or incomplete state → REJECT Complete expected state → DECRYPT + VERIFY
Recovery conditionExpected behaviorSecurity property demonstrated
Wrong codeRejectUnauthorized recovery context is denied.
Partial code setRejectA required multi-part gate cannot be weakened by omission.
Wrong enforceRejectA policy or environment mismatch fails authentication.
Missing enforceRejectRequired AAD-bound policy cannot be bypassed by leaving it out.
Complete expected stateDecrypt + verifyAuthorized recovery restores the expected bytes and Trust context only after validation succeeds.
VALIDATION EVIDENCEWhat a completed internal run can leave behind
EvidenceReview use
Status + health JSONConfirms release profile, provider readiness, command outcome, and diagnostic state.
Redacted Trust JSONConfirms Trust identity, cryptographic stack flags, policy commitments, provenance, and runtime telemetry without exposing plaintext.
K3Y artifactsPreserves the exact recovery capsule used for unwrap, decrypt, and re-encryption validation.
Ciphertext + restored outputSupports independent roundtrip and regression comparison.
SHA-256 comparisonProvides an external integrity oracle for original vs. restored bytes.
Timing + throughputSeparates I/O, cryptographic work, Trust handling, and total execution for performance regression review.
Metering eventsConfirms usage identifiers, bytes, throughput, digests, marketplace metadata, and idempotency behavior.
Boundary note. The internal validation system exists to prove correctness, fail-closed behavior, release readiness, regression safety, and reviewable evidence. It remains outside the stateless production data plane and does not alter the customer-boundary REST operating model described above.
SURFACE B // NATIVECall the Rust crate on bytes directly.No Blob/S3/GCS URI is required. The application owns I/O and passes key material + policy context to the core.
DIRECT BYTE PATH // RUST CRATE + CLI HARNESS

Embed ΞNIGMA below the storage layer.

The supplied Rust harness exercises the same core without REST or object storage. A caller constructs EncryptOptions / DecryptOptions, supplies AES, ECDSA and optional PQC material, then passes ordinary Rust Read and Write implementations into core::encrypt and core::decrypt. That means the source can be a file, memory buffer, socket, pipe, database stream, device stream, or any other reader/writer the host application controls.

WHAT DOES NOT CHANGEParticle, K3Y, Trust, codes, enforce, info, integrity and PQC/FIPS controls remain the same.

Only the integration boundary changes: cloud mode resolves URIs; native mode receives the actual byte streams and key bytes from the caller.

01 // INPUTRead plaintext / ciphertextFile, buffer, pipe, socket or application-owned stream.
→
02 // OPTIONSKeys + policy contextAES/ECDSA/PQC plus codes, info, enforce.
→
03 // COREcore::encrypt/decryptParticle byte transform plus Trust/K3Y protection and validation.
→
04 // OUTPUTWrite bytes + K3YCiphertext/plaintext is streamed; K3Y/Trust is returned separately.
→
05 // EVIDENCERedacted Trust JSONOperation evidence can be logged/exported to SIEM and audit tooling.

Cloud API vs. native byte API

Integration concernCloud / object REST surfaceNative Rust / byte surface
I/Osource_uri, destination_uri, k3y_uriRead + Write implementations supplied by the application
Object addressingaz://, s3://, gcs://None required; caller already has the bytes
Key addressingkv://, kvk://, Vault/KMS/HSM referencesKey bytes/signers supplied directly to the core by the host application
ExecutionCustomer-deployed service reads and writes referenced objectsHost process executes core::encrypt, core::decrypt, core::reencrypt
PolicyJSON fields: codes, enforce, infoEncryptOptions / DecryptOptions carry the same contexts
RecoveryK3Y stored at the requested customer URIK3Y returned as bytes; host decides where/how to custody it
EvidenceREST/job responses + Trust JSON → SIEMRedacted Trust returned/logged by harness; host can export the same record

Rust crate — encrypt bytes

use il7::il7 as core;
use il7::trust::LocalEcdsaSigner;

let signer = LocalEcdsaSigner::from_pkcs8(&ecdsa_sk)?;
let opts = core::EncryptOptions::new(
    Some(ecdsa_secondary_sk.as_slice()),
    Some(kyber_pub.as_slice()),
    Some(slh_sk.as_slice()),
    Some(slh_pk.as_slice()),
    Some(id),
    Some(&codes),
    Some(info_bytes),
    Some(enforce_bytes),
).with_ml_dsa(
    Some(ml_dsa_sk.as_slice()),
    Some(ml_dsa_pk.as_slice()),
);

let (k3y, trust_json, written) = core::encrypt(
    reader,              // any Read
    writer,              // any Write
    &aes,
    &signer,
    opts,
    Some(max_chunk),
)?;

Rust crate — decrypt bytes

let opts = core::DecryptOptions::new(
    Some(kyber_sk.as_slice()),
    Some(slh_pk.as_slice()),
    Some(&codes),
    Some(info_bytes),
    Some(enforce_bytes),
    None,
)
.with_ml_dsa(Some(ml_dsa_pk.as_slice()))
.with_expected_ecdsa(Some(ecdsa_pk.as_slice()), None);

let (trust_json, written) = core::decrypt(
    cipher_reader,       // any Read
    plain_writer,        // any Write
    cipher_len,
    &k3y,
    &aes,
    opts,
    Some(max_chunk),
)?;

Rust harness dispatcher

The test crate is intentionally a thin command dispatcher over focused harness modules. That keeps the developer proof close to the same public core calls an embedded integration uses.

Harness commandRust moduleWhat it exercises
basic / roundtriproundtrip.rsDirect crate encrypt → K3Y/Trust → direct crate decrypt, byte counts, timing, Trust logs, restored output.
trust / unwrapunwrap.rsAuthorized K3Y unwrap through unwrap_bind_info, redacted Trust JSON, trust_id-keyed logs, no plaintext restoration.
keyskeys.rsCalls keygen_material(), requires the combined feature set, verifies PQC material is non-empty, writes AES/ECDSA/ML-KEM/ML-DSA/SLH-DSA files.
healthhealth.rsBuilds the release binary with FIPS enabled, runs il7 health, and persists the JSON health record.
test [matrix|fips|both]test.rsBuilds and runs FIPS-only and/or combined FIPS+PQC variants, executing health and test and writing status JSON for each variant.
reencryptreencrypt.rsEncrypts once, rotates AES/Trust/policy context around the existing ciphertext, then decrypts with the updated K3Y and verifies plaintext equality.
LOCAL HARNESS ARTIFACTSOne test tree makes the byte path inspectable.data/samples → data/otp / ciphertext → data/k3ys → data/plain → data/logs/trust|status|health.

Direct harness — call the crate

# Generate local FIPS + PQC test keys
AWS_LC_RUST_FIPS=1 cargo run --release \
  --manifest-path test/crate/Cargo.toml \
  --features both -- keys il7

# Full crate-level encrypt → decrypt roundtrip
AWS_LC_RUST_FIPS=1 cargo run --release \
  --manifest-path test/crate/Cargo.toml \
  --features both -- roundtrip christmas.pdf il7

# Unwrap K3Y / Trust without restoring plaintext
AWS_LC_RUST_FIPS=1 cargo run --release \
  --manifest-path test/crate/Cargo.toml \
  --features both -- unwrap christmas.pdf il7

# Re-bind/rotate recovery context and verify decrypt
AWS_LC_RUST_FIPS=1 cargo run --release \
  --manifest-path test/crate/Cargo.toml \
  --features both -- reencrypt christmas.pdf il7

Readiness / FIPS + PQC matrix

# Harness health wrapper
AWS_LC_RUST_FIPS=1 cargo run --release \
  --manifest-path test/crate/Cargo.toml \
  --features both -- health

# Build/run FIPS-only + combined FIPS/PQC variants
AWS_LC_RUST_FIPS=1 cargo run --release \
  --manifest-path test/crate/Cargo.toml \
  -- test matrix

# Shell readiness path used by the repo
bash test/sh/readready.sh

Shell tests — byte-level CLI proof

The shell layer exercises the release binary through stdin/stdout byte streams. It is useful as an integration proof because the scripts show exactly what a non-Rust process would need to supply: key material, policy context, payload bytes, K3Y custody, and pass/fail expectations.

BYTE-LEVEL DIFFERENCE

The shell tests do not upload a blob to a REST endpoint. They literally pipe file bytes into il7 encrypt/decrypt and redirect stdout to ciphertext/plaintext files. That makes them a concrete example for agents, sidecars, local services, appliances, or any process that wants ΞNIGMA below the object-storage layer.

01 // READY

readready.sh

Cleans and builds the release binary with the combined feature set, runs health, creates the complete local FIPS + PQC test key set when needed, runs the test endpoint, and persists JSON status output.

bash test/sh/readready.sh
HEALTH JSONFIPS PROVIDERML-KEMML-DSASLH-DSA
02 // ROUNDTRIP

readrun.sh

Pipes the source file into il7 encrypt, produces a bundle containing K3Y + ciphertext, extracts K3Y, decrypts the byte stream, compares SHA-256, then opens the K3Y through the Trust command.

bash test/sh/readrun.sh data/samples/christmas.pdf \
  --codes 7897,34329 \
  --info-enc-json '[{"region":"us-west"}]' \
  --info-dec-json '[{"region":"us-east"}]' \
  --enforce-json '["us-west-188afd","200::204"]'
ENCRYPTDECRYPTSHA-256 MATCHTRUST UNWRAP
03 // CODES GATE

readcodes.sh

Encrypts with the required ordered code set, proves that a wrong code is rejected, proves incomplete code context is rejected when multiple codes are required, then proves the complete correct set restores the exact original bytes.

bash test/sh/readcodes.sh data/samples/christmas.pdf \
  --codes 7897,34329 \
  --wrong-code 9999
WRONG CODE FAILSINCOMPLETE FAILSCORRECT SUCCEEDSSHA-256 MATCH
04 // ENFORCE GATE

readenforce.sh

Encrypts with the committed enforce context, then intentionally tries a wrong enforce value and no enforce value. Both must fail. Only the correct enforce context may authenticate and restore plaintext.

bash test/sh/readenforce.sh data/samples/christmas.pdf \
  --enforce-json '["us-west-188afd","200::204"]' \
  --wrong-enforce-json '["us-east-999999","300::304"]'
WRONG ENFORCE FAILSMISSING FAILSCORRECT SUCCEEDSSHA-256 MATCH
05 // RE-ENCRYPT / ROTATE

readreencrypt.sh

Creates ciphertext and K3Y as independent artifacts, rotates the recovery context to updated AES/policy/codes/info/PQC material, then decrypts the same ciphertext with the updated K3Y stack and verifies the original bytes.

bash test/sh/readreencrypt.sh data/samples/christmas.pdf \
  --source-codes 7897,34329 \
  --updated-codes 7897,34329,9090
CIPHERTEXT PRESERVEDK3Y ROTATEDPOLICY UPDATEDSHA-256 MATCH
06 // TRUST ONLY

unwrap.rs / trust

Loads the K3Y and required key/policy context, calls core::unwrap_bind_info, emits a redacted Trust view, and saves JSON logs keyed by trust_id. No plaintext restore is required to inspect the authorized record.

AWS_LC_RUST_FIPS=1 cargo run --release \
  --manifest-path test/crate/Cargo.toml \
  --features both -- unwrap christmas.pdf il7
K3Y ONLYREDACTED TRUSTJSON LOGSIEM READY
DEVELOPER TAKEAWAY Cloud API and direct crate integration are not competing products. They are two I/O boundaries over the same security engine.

Use URI-based REST when ΞNIGMA should own object movement inside the customer cloud boundary. Use the Rust crate or byte-stream CLI when the host application already owns the bytes. In both cases the buyer gets the same Particle transform, K3Y separation, codes/enforce/info semantics, Trust evidence, FIPS-backed classical controls and configured PQC adjunct.

ΞNIGMA 3.0 // SECTION 11 // THREAT MODEL
SECURITY REVIEW // ASSETS · ADVERSARIES · CONTROLS · RESIDUAL RISK

Threat Model Summary

This threat model defines what ΞNIGMA is designed to protect, what an attacker may control, which checks are enforced before plaintext or Trust data is released, and which risks remain deployment responsibilities. The emphasis is failure-closed recovery: incorrect cryptographic material, incorrect policy gates, failed integrity checks, or failed signature checks must stop recovery rather than degrade into a weaker path.

Scope boundary. The model assumes the customer owns the runtime placement, object storage, IAM, and vault/KMS policy. ΞNIGMA protects the cryptographic data path and K3Y recovery path; it does not make a compromised customer administrator, compromised host kernel, or stolen vault credential harmless.
ENTRYAuthorized requestvalid URI + keys + policyOnly an authorized job with valid object references, key material, and policy inputs can proceed.
→
CHECKTrust + integritygates · signatures · MACWrong identities, invalid signatures, bad MACs, or wrong policy stops the path before plaintext is exposed.
→
TRANSFORMDecrypt or verifyrecover state + re-derive padRecovery is allowed only when the K3Y, Trust record, and configured controls all line up.
→
EXITPlaintext or rejectrestore bytes / fail closedSuccessful recovery exits with plaintext; any mismatch exits with a cryptographic rejection rather than a weaker fallback.

1. Protected assets and trust boundaries

Asset / boundarySecurity objectivePrimary controlFailure consequence
Plaintext objectConfidentiality during read, transform, and restore.In-boundary processing; plaintext is not a control-plane payload.A compromised runtime or storage authorization can expose data before or after cryptographic protection.
Ciphertext objectIntegrity and correct object-to-Trust binding.Per-chunk integrity evidence committed through Trust plus authenticated recovery checks.Modified or mismatched bytes must not be accepted as valid plaintext.
Particle seed / K3YKeep operation-specific recovery material separate from ciphertext.Fresh seed per encrypt; seed sealed into K3Y; optional ML-KEM protection when the PQC adjunct is enabled.Loss of the corresponding recovery path prevents legitimate decrypt; compromise of the required recovery keys can expose the seed.
Vault / KMS keysPrevent unauthorized seal, unwrap, and signing operations.Customer-controlled vault references, IAM, key permissions, and expected signer checks.Credential or key compromise can defeat cryptographic authorization even when ciphertext itself remains intact.
Trust + policy gatesBind recovery to the intended operation and required policy values.trust_id, signatures, integrity commitments, codes, and enforce authentication binding.Incorrect context must fail closed; replay freshness still requires deployment policy.

2. Adversary model

AdversaryAssumed capabilityWhat the design attempts to deny
Passive storage attackerCopies ciphertext, and possibly a separately stored K3Y artifact, for later analysis.Plaintext recovery without the required K3Y/key/policy path.
Active object attackerFlips bits, truncates, replaces, reorders, or substitutes stored ciphertext.Returning modified bytes as authenticated plaintext.
Policy-bypass attackerPresents wrong or missing codes / enforce values.Recovery under a different tenant, policy, or access context.
Identity / signer attackerAttempts to substitute signing material or present an artifact under the wrong expected signer.Trust acceptance when signature verification does not match the configured identity.
Replay attackerReuses a previously valid K3Y or Trust artifact in a later request.Silent reuse across operations; freshness rejection is a deployment-policy function.
Future quantum attackerStores protected artifacts now and later gains cryptanalytic capability against classical public-key algorithms.Long-term compromise of the K3Y/signature path when configured with the PQC adjunct.
Privileged environment attackerObtains customer IAM, vault credentials, or code execution inside the active runtime.Not fully denied by cryptography. This is a residual platform-security risk requiring customer controls.

3. Threat-to-control matrix

ThreatControl pathFail-closed condition / evidenceResidual risk
Particle-stream / recovery-state reuseFresh independently sampled Particle recovery state for each new encryption; new Trust identity per operation.The new-encrypt path does not intentionally carry forward an existing Particle context. Metadata-only re-encryption is separately defined and may preserve the original Particle state because ciphertext is unchanged.Depends on correct entropy generation, collision-resistant freshness in practice, replay discipline, and implementation integrity.
Ciphertext tamperingPer-chunk GMAC/integrity evidence plus authenticated Trust commitments.Integrity or authentication mismatch prevents successful recovery.Availability attacks remain possible: an attacker can still corrupt or delete data to make it unavailable.
Wrong access codescodes commitments participate in the authenticated recovery context.Wrong code set is expected to return a non-zero decrypt failure; correct values restore the original object.Security of the codes themselves depends on how the customer distributes and protects them.
Wrong / absent enforce policyenforce is bound into the AES-GCM authenticated context.Wrong or missing enforce data is expected to fail authentication; correct enforce succeeds.Policy quality is a customer responsibility; a weak but syntactically correct policy is still weak.
Artifact / signer substitutionExpected ECDSA identity and optional PQ signature verification before Trust release.Signer or signature verification failure stops decrypt/unwrap.If PQ signatures are disabled, ECDSA remains the classical authentication dependency.
Harvest-now / decrypt-laterSeparated ciphertext/K3Y artifacts; ML-KEM-768 protects the K3Y path when the PQC adjunct is enabled.Possession of ciphertext alone is insufficient; the recovery path still requires the corresponding protected K3Y/key context.PQC protection is conditional on configuration. Classical vault/session-key compromise remains relevant.
Quantum signature forgeryML-DSA and/or SLH-DSA adjuncts can add independent post-quantum authentication alongside ECDSA-P384.Configured verification layers must pass before Trust is accepted.Without the PQ signature adjunct, future quantum risk remains concentrated in classical signatures.
Replay / stale TrustUnique Trust identity and timestamp provide the material needed for freshness policy.Deployment can reject reused Trust IDs or artifacts outside an allowed freshness window.Not inherently solved by uniqueness alone. Replay rejection must be enabled/enforced by the deployment policy.

4. Failure semantics that are exercised automatically

Security propertyNegative caseExpected resultPositive evidence
Code gateDecrypt with a wrong code.REJECT non-zero decrypt result.Correct codes decrypt successfully and the restored file is SHA-256 compared with the source.
Enforce gateDecrypt with wrong enforce data or with enforce omitted.REJECT authenticated context mismatch.Correct enforce decrypts successfully and the restored file is SHA-256 compared with the source.
Signer / PQ stackPresent an artifact under a verification context that does not satisfy the configured signature stack.REJECT Trust/decrypt verification does not complete.The harness verifies the expected ECDSA public key and, when configured, ML-DSA / SLH-DSA public keys.
Roundtrip correctnessUnexpected decrypted length or invalid recovery path.REJECT harness returns an error.Encrypt/decrypt harness records Trust IDs, byte counts, timings, and completed roundtrip status.
K3Y rotation / re-encryptionAttempt to use stale source context after policy/key rotation.Old and updated recovery contexts are treated as distinct inputs.The re-encryption harness rotates AES/codes/info/enforce, decrypts with the updated K3Y, and byte-compares restored plaintext to the source.

5. Residual risks and deployment responsibilities

Residual riskWhy cryptography alone does not remove itRequired operating control
Customer IAM / vault compromiseAn attacker authorized to use the required keys may be able to perform legitimate-looking cryptographic operations.Least privilege, managed identity, HSM-backed keys where appropriate, rotation, approval boundaries, and audit review.
Runtime / host compromisePlaintext and seed material necessarily exist transiently while an authorized operation executes.Hardened images, patching, container isolation, workload identity, memory hygiene, restricted debugging, and host monitoring.
Replay freshnessA unique ID proves identity, not freshness by itself.Persist accepted Trust IDs when required and enforce replay/freshness windows at the deployment boundary.
Denial of service / deletionAuthentication can reject corrupted data but cannot make deleted or unavailable storage reappear.Object versioning, immutability/retention where appropriate, backup, rate limiting, quotas, and availability architecture.
PQC configuration driftThe PQC algorithms are adjuncts; disabling them changes the long-term threat posture.Configuration policy, release checks, health/KAT review, and explicit environment baselines.
Custom Particle stream generatorParticle is the ΞNIGMA application construction that creates a full-length operation-specific XOR stream on demand and recreates the same stream only for authorized recovery. Confidentiality is computational and depends on recovery-state secrecy, origin freshness, exact replay, and avoiding intentional cross-operation stream reuse.Independent cryptographic review, continuous entropy/statistical/implementation testing, and preservation of the authenticated Trust/K3Y, FIPS, and PQC boundaries.
SECURITY REVIEW TAKEAWAY

ΞNIGMA's strongest security property is separation with explicit failure conditions. Ciphertext, K3Y recovery material, customer keys, policy gates, and Trust evidence are distinct controls. The implementation can reject incorrect codes, incorrect enforce data, invalid verification context, and failed recovery paths; the deployment must still protect IAM/KMS credentials, the active runtime, availability, and replay policy. That distinction should remain explicit in production security documentation.

ΞNIGMA 3.0 // SECTION 13 // COMMERCIAL

Start with 100 TB for $100,000. Scale by agreement.

Production entry offer: $100,000 for 100 TB of cumulative encrypted input ($1/GB). Customer-owned decryption, normal Trust/K3Y recovery and cryptographic provenance are included. Agree the workload, deployment assistance, support allowance and usage term in writing before activation.

Petabyte expansion: request committed-volume pricing for 1 PB and above. The written agreement specifies the rate, commitment, overage treatment and any entry-package upgrade credit. No automatic petabyte rate or unlimited support is implied.

Outside a written offer, ΞNIGMA’s public list rate is $3/GB encrypted. Customer-owned decryption, normal Trust/K3Y recovery, and cryptographic provenance are included in the public model.

1 PB REFERENCE CASE

1 PB/year = 1,000,000 GB/year. At $3/GB, the annual ΞNIGMA encryption charge is $3,000,000. The full comparison below now uses the same 1 PB completed workload on both sides.

Reference-model boundary: all $3.010M versus $11.310M TCO figures elsewhere on this page use the $3/GB public list-price scenario. They are illustrative assumptions, not a customer quote or a measured vendor comparison. Entry-offer and petabyte-contract economics require a separate calculation.

Commercial terms at a glance

Volume uses decimal units: 100 TB = 100,000 GB; 1 PB = 1,000,000 GB. Fees measure encrypted input, not stored capacity per month. Billing treatment for failed jobs, retries and recovery-capsule rotation is specified in the written agreement.

TermCurrent positionWhat it means
MeterEncrypted data volumeUsage fees are based on bytes encrypted, not decrypt calls or Trust reads.
Public list price$3/GBPublic list-price reference; the 100 TB entry offer and written volume agreements are separate.
DecryptIncludedCustomer-owned decryption does not introduce a second per-GB charge.
Trust / K3YIncludedNormal recovery artifacts, policy evidence, and provenance are part of the operating model.
EntitlementRequiredProtected operations remain disabled unless an active entitlement is present.
Private pricingWritten agreement onlyNo private discount is assumed in this public TCO example.

Public list-price examples — before the entry offer

Annual encrypted volumeGB billedRateAnnual encryption charge
10 TB10,000 GB$3/GB$30,000
100 TB100,000 GB$3/GB$300,000
1 PB1,000,000 GB$3/GB$3,000,000
THE COMMERCIAL MATH

1 PB = 1,000,000 GB → 1,000,000 GB × $3/GB = $3,000,000/year. This comparison retains the public list-price baseline; it does not use the entry offer or negotiated petabyte rates.

License scope

CategoryCommercial treatment
Permitted encryption workloadsBulk files, objects, logs, telemetry, analytics outputs, backups, archives, machine-generated datasets, cloud data pipelines, and long-term customer data protection.
Audit outputsTrust metadata and provenance bound to encrypted outputs are within normal licensed operation.
Separate authorization requiredPayments, banking, escrow, cryptocurrency/blockchain systems, identity/SSO, secure messaging, VPN or consumer privacy products, randomness/key-custody services, surveillance/interception, and similar out-of-scope uses require explicit written authorization.
Redistribution + resaleRedistribution, sublicensing, resale, competing-service use, or embedding the software in a third-party product for resale is prohibited unless separately authorized.
Metering controlsLicensing and usage-metering mechanisms must remain intact and operational.

Procurement + legal review

TopicReview position
License structureΞNIGMA 3.0 is licensed, not sold. Use is subject to the commercial license and applicable written agreements.
Billing + reportingLicense fees are based on actual encrypted volume. Billing cadence, invoicing, credits, and other commercial mechanics are governed by separate written agreements where applicable.
Optional QSCC participationAny QSCC participation, reporting, certification, or value-sharing requires a separate written agreement and is outside the core encryption license.
Warranty postureThe source commercial license states that the software is provided “as is,” without express or implied warranty.
Liability postureThe source commercial license includes a limitation-of-liability provision for claims arising from use of the software.
ΞNIGMA 3.0 // COMPETITION + TOTAL COST OF OWNERSHIP

1 PB. Same workload. Half a day instead of a month.

ΞNIGMA is modeled here as a 3 × 8-vCPU Azure Cobalt 100 cluster. Each 8-vCPU worker measured 6.76 GiB/s encrypt; three independent workers therefore project to 20.28 GiB/s aggregate when the workload scales linearly across jobs or disjoint byte ranges. The illustrative comparison byte path remains 384 MB/s. On the same 1 PB workload, that changes the operating window from roughly a month to about half a day of raw cryptographic work. The cost model below keeps the comparison simple: one 1 PB completed workload on each side, with the slower path allowed to take its modeled ~30.1-day window. Unlike the prior draft, the comparison stack is not frozen at its 300 TB cost base: volume/capacity-sensitive software, PQ, and KMS/HSM allowances scale 3.33× to 1 PB, while fixed program staffing and the single-lane infrastructure allowance remain fixed. A short capacity note separately shows what it would take to match ΞNIGMA throughput, but that scenario is not folded into the main TCO table.

The buyer-level comparison // completed secure workload

What does it take to actually finish the same protected petabyte?

The advantage is not a theoretical appliance peak. It is the time, cost, and operating burden required to complete the same 1 PB cryptographic objective. In the current model, ΞNIGMA turns a month-scale event into a same-day operation.

Completion window12.76 h vs 30.1 d~56.7× faster completed-byte rate in the modeled comparison.
Modeled annual TCO$3.01M vs $11.31M~$8.300M lower, or approximately 73.4% below the modeled assembled stack for the same completed 1 PB.
Comparison labor organization~$2.243M / year9.5 standing FTE-equivalent plus active-run coverage; about 74.5% of ΞNIGMA's entire ~$3.010M modeled annual cost.
Comparison infrastructure carry~$400K / yearExisting ownership/maintenance/facility allowance; the expanded power model is ~8.8 MWh of facility energy during the 30.1-day 1 PB run.
Commercial point: ΞNIGMA is not asking the buyer to fund a month of cryptographic processing around a petabyte-scale job. The modeled objective closes in roughly half a day, while recovery, policy, provenance, optional PQC, and queue-native execution remain part of the same operating model.
Comparison boundary

Measured vs. modeled is kept explicit. The 6.76 GiB/s figure is the measured 8-vCPU Cobalt result documented above. The 20.28 GiB/s cluster number is a linear three-worker projection, not a separate cluster benchmark. The 384 MB/s comparison rate is a generous planning assumption for a slower per-byte PQ/file-encryption path; a public ML-KEM-based file-encryption implementation reports roughly 187 MB/s on an Apple M1, so 384 MB/s intentionally gives the comparison stack substantial benefit of the doubt.

1 PB completion model

MeasureΞNIGMA · 3 × 8 vCPUIllustrative PQ byte stackAdvantage
Completed encrypted workload1 PB / 1,000,000 GB1 PB / 1,000,000 GBSame protected petabyte
Per-worker encrypt rate6.76 GiB/s measured at 8 vCPU384 MB/s modeled byte pathDifferent execution model
Cluster / path throughput20.28 GiB/s projected
3 independent 8-vCPU workers · 24 vCPU total
384 MB/s~56.7× higher completed-byte rate
Raw crypto time to finish 1 PB~12.76 hours~723.4 hours / ~30.1 days~710.6 hours shorter
Seconds per completed encrypted GB~0.046 s/GB~2.604 s/GB~56.7× lower
Execution styleParallel stateless workers · serverless orchestration · object/range fan-out · Kafka/event queuesLonger-lived serial or weakly parallel jobs with more product stitching around the byte pathShorter queues and batch windows

Same 1 PB. Half a day versus roughly a month.

ΞNIGMA · 3 × 8 vCPU
20.28 GiB/s
~12.76 hours
Illustrative PQ byte path
384 MB/s · ~723.4 h / ~30.1 days
Aggregate speed20.28 GiB/sThree measured 6.76 GiB/s 8-vCPU workers, projected linearly.
Speed ratio~56.7×Completed encrypted bytes per second versus 384 MB/s.
1 PB window12.76 h vs 723.4 hAbout half a day for ΞNIGMA; roughly 30 continuous days for the slower path.
SEC/GB OF COMPLETED WORKLOAD

ΞNIGMA cluster: ~0.046 seconds per encrypted GB. Illustrative PQ byte path: ~2.604 seconds per encrypted GB. That metric survives changes in batch size and makes queue economics visible: every backlog gigabyte clears about 56.7× faster at the modeled cluster rate.

CAPACITY NOTE — NOT PART OF THE TCO TABLE

At 384 MB/s per lane, approximately 57 parallel lanes would be required to match ΞNIGMA’s projected ~21.775 GB/s aggregate byte rate. That is a throughput-normalization fact only. The main TCO model below does not multiply the comparison stack by 57; it compares one defined modeled assembled stack against ΞNIGMA on the same 1 PB completed workload.

The 30-day job has a labor cost

Long-running security jobs consume people as well as machines. The model therefore separates standing annual organization cost from active-run coverage. The assembled side carries 6 integration/crypto FTE, 2 audit/compliance/base-SRE FTE, 1 program/security-management FTE and a 0.5-FTE shared HR/People, recruiting, finance/procurement and IT-support allocation. Each full-time equivalent retains the existing $220,000 fully loaded annual planning rate. “Loaded” is intended to include employer healthcare/insurance, retirement, paid leave, payroll taxes and legally required benefits rather than salary alone. Active-run coverage then uses the same two concurrent production FTE on both sides while each 1 PB job remains open.

LABOR COST REASONABLENESS CHECK // BLS MARCH 2026

U.S. Bureau of Labor Statistics ECEC data for private-industry management/professional workers reports $53.50/hour in wages plus $24.59/hour in employer benefits, for $78.09/hour total employer compensation. That is roughly a 46% employer-cost uplift over wages. This benchmark supports treating labor as fully burdened; the $220K/FTE figure remains an illustrative planning assumption, not a universal salary claim.

Active-run laborΞNIGMA · 3 × 8 vCPUIllustrative PQ byte stackDifference
Elapsed encryption window~12.76 hours~723.4 hours~710.6 additional elapsed hours
Coverage model2 concurrent production FTE while job is active2 concurrent production FTE while job is activeSame staffing assumption
Allocated FTE-hours~25.5 hours~1,446.8 hours~1,421.2 additional FTE-hours
Allocated run labor~$2,698~$153,023~$150,324 more labor consumed
LABOR ASSUMPTION

This is an allocated active-run operating burden, not a claim that every customer literally staffs two people at a console for every second. Serverless orchestration and Kafka/event-driven execution can reduce hands-on oversight further; using identical two-person coverage on both sides keeps the time penalty visible without giving ΞNIGMA a staffing-assumption advantage.

1 PB full-stack TCO

1 PB scaling rule

The 1 PB model does not freeze the comparison stack at its 300 TB cost. The workload is 3.33× larger, so the comparison-side encryption platform, PQ / crypto-agility layer, KMS / HSM capacity allowance, and active-run labor scale with volume or runtime. The model now also makes the standing labor organization explicit: 6 integration/crypto FTE + 2 audit/base-SRE FTE + 1 management FTE + 0.5 shared corporate-support FTE, all at the existing $220K fully loaded planning rate. Integration and base operating roles remain annual standing costs rather than being multiplied 3.33×. These are planning assumptions, not named-vendor quotes.

Annual cost elementΞNIGMA 3.01 PB @ $3/GBModeled assembled stackvolume-sensitive components scaled to 1 PB
Encryption platform$3,000,000
1,000,000 GB × $3/GB
$5,000,000
300 TB allowance scaled 3.33× to the 1 PB workload
PQC / crypto-agilityIncluded adjunct capability$1,666,667
Volume/capacity-sensitive allowance scaled 3.33× from the 300 TB model
KMS / HSM security programCustomer-controlled key systems; common external charges excluded$2,000,000
Protected custody / HSM capacity allowance scaled 3.33× from the 300 TB model
Integration + crypto engineeringIntegrated product boundary$1,320,000
6 FTE × $220,000 loaded
Audit, compliance + base SREIntegrated evidence / API model; customer base labor excluded$440,000
2 FTE × $220,000 loaded
Program / security managementIntegrated product/support boundary; customer program-management labor excluded$220,000
1 FTE × $220,000 fully loaded
Shared corporate supportCustomer HR / recruiting / finance / IT overhead excluded$110,000
0.5 FTE equivalent × $220,000 loaded-equivalent across HR/People, recruiting, finance/procurement and internal IT support
Recurring infrastructure ownership + maintenance~$7,385
3 × 8-vCPU Cobalt proxy for the modeled workload
$400,000
Annual planning allowance: refresh reserve + OEM maintenance/support + rack/UPS/network/facility + spares/repair logistics + power/cooling
Active workload coverage~$2,698
~25.5 FTE-hours across the ~12.76-hour window
~$153,023
~1,446.8 FTE-hours across the ~30.1-day window
Modeled annual TCO~$3,010,083~$11,309,690

Completed-workload economics

MeasureΞNIGMA 3.0Modeled assembled stackΞNIGMA advantage
Completed encrypted workload1 PB1 PBSame protected petabyte
Time to finish 1 PB~12.76 h~723.4 h / ~30.1 d~710.6 h shorter
Allocated active-run labor~$2,698~$153,023~$150,324 lower
Recurring infrastructure ownership / maintenance allowance~$7,385~$400,000 / year~$392,615 lower in this model
Annual TCO~$3.010M~$11.310M~$8.300M lower
TCO / completed encrypted GB~$3.01/GB~$11.31/GB~$8.30/GB lower
Relative annual TCO26.6% of modeled comparison TCO100%~73.4% lower
Recurring infrastructure + power / cooling operating model

The $400K infrastructure line is annual, not a one-time box purchase. It represents the modeled carrying burden of keeping the comparison lane supportable: refresh/depreciation reserve, OEM maintenance/support contracts, rack/UPS/network/facility allocation, spares and repair logistics, plus electricity. For power transparency, the expanded model treats 7.9 kW as IT load and applies the Uptime Institute 2025 weighted-average PUE of 1.54. That yields about 12.17 kW total facility draw while active.

Across the comparison's ~723.4-hour / 30.1-day 1 PB run, that is approximately 8.8 MWh of facility energy, including about 3.1 MWh attributable to cooling/power-distribution overhead. If the lane is maintained continuously ready for service, the same load annualizes to about 106.6 MWh/year, including 37.4 MWh/year of non-IT overhead. At the U.S. EIA May 2026 commercial average of 13.54¢/kWh, that always-ready electricity case is approximately $14.4K/year. Electricity is only one component of the broader $400K/year modeled infrastructure carrying allowance.

Five-year perspective: the existing infrastructure allowance alone is about $2.0M over five years before platform software, PQ, KMS/HSM or people. In the illustrative always-ready power case, facility energy is about 532.9 MWh over five years. These are planning-model outputs, not named-vendor quotes. ΞNIGMA cloud power was not directly instrumented, so the site does not claim a direct energy- or CO₂-reduction percentage.

Time~12.76 hΞNIGMA completes the modeled 1 PB cryptographic workload versus ~30.1 days for the slower path.
Annual TCO~$3.010MVersus ~$11.310M for the modeled assembled stack on the same 1 PB workload.
Savings~$8.300MApproximately 73.4% lower modeled annual TCO, plus ~1,421 active-run FTE-hours avoided.

Why queue-driven execution compounds the advantage

Operating propertyΞNIGMA modelIllustrative slower stack
Work unitStateless object or byte-range job.Longer-running encryption process with more state and product boundaries around it.
Fan-outIndependent Cobalt workers can process disjoint jobs/ranges in parallel.Scaling requires more slow byte-path instances plus the surrounding PQC/KMS/orchestration stack.
Serverless orchestrationJobs can be launched on demand and retired when the queue drains.Longer job duration holds compute, process state, and operational attention for much longer.
Kafka / event queuesEvents can enqueue work continuously; completed GB/s determines how fast the backlog disappears.At 384 MB/s, the same backlog clears about 56.7× more slowly than the modeled three-worker ΞNIGMA cluster.
Operational resultLarge workloads complete in a short batch window.Comparable workloads occupy roughly a 30-day modeled window at the comparison byte rate.

Closest public alternatives

Platform / componentStrongest overlapWhat still has to be assembled for the ΞNIGMA-style operating model
Thales CipherTrustEnterprise key management, transparent encryption, tokenization, cloud key control, hybrid deployment.Operation-specific K3Y/Trust lifecycle, Particle byte path, PQC adjunct integration, object-job orchestration, unified provenance/evidence model, and one metered API boundary.
Fortanix DSMHSM, KMS, secrets, signing, tokenization, and centralized security controls.Bulk object-encryption workflow, ΞNIGMA-specific K3Y/Trust model, position-addressable Particle stream, cloud-object execution model, and unified usage/evidence layer.
QuSecure QuProtectPQC migration, crypto-agility, discovery, remediation, and reporting.Bulk-data byte transformation, K3Y recovery object, FIPS data plane, object I/O/orchestration, metering, and full Trust/provenance lifecycle.
Cloud KMS / managed HSMProtected key storage and cryptographic key operations.Encryption data plane, PQC layer, job orchestration, policy gates, Trust evidence, operational telemetry, entitlement, and the integration/operations team joining them together.
The decision in one line // same completed 1 PB

Protect the petabyte today. Do not spend the next month processing it.

ΞNIGMA closes the modeled 1 PB cryptographic workload in ~12.76 hours on the projected three-worker cluster. The illustrative 384 MB/s comparison path takes ~723.4 hours / ~30.1 days — leaving infrastructure and operational coverage committed for roughly 710.6 additional hours.

Modeled annual advantage ~$8.300M lower ~$3.010M ΞNIGMA versus ~$11.310M for the modeled assembled stack — approximately 73.4% lower modeled annual TCO.
Time returned~710.6 hA month-scale processing event becomes a same-day cryptographic operation.
Modeled cost removed~$8.300MApproximately 73.4% lower modeled annual TCO on the same completed 1 PB workload.
Comparison labor burden~$2.243M / yr9.5 standing FTE-equivalent plus ~$153K active-run coverage; labor alone is ~74.5% of ΞNIGMA's entire modeled annual cost.
One operating modelIntegratedParticle + K3Y + policy gates + provenance + optional PQC + serverless / Kafka execution.
Bottom line: same protected petabyte, ~56.7× faster modeled completion and approximately $8.300M / 73.4% lower modeled annual TCO. The 57-lane figure remains a throughput-capacity note only and is not used in the main TCO table.
Fair-comparison note

The strongest claim here is completion time, not a universal vendor-speed claim. ΞNIGMA's 6.76 GiB/s 8-vCPU worker result is measured; the 20.28 GiB/s three-worker number is the explicitly labeled linear projection. The 384 MB/s comparison rate remains a favorable planning assumption rather than a named-vendor benchmark. The 57-lane figure appears only as a throughput-capacity note and is not used to calculate the main TCO comparison. The assembled-stack cost model scales the volume/capacity-sensitive platform, PQ, and KMS/HSM allowances by 3.33× from 300 TB to 1 PB. Its standing labor model is explicit rather than hidden: 6 integration/crypto FTE, 2 audit/base-SRE FTE, 1 program/security-management FTE, and 0.5 shared corporate-support FTE-equivalent at the existing $220K fully loaded planning rate, plus identical two-person active-run coverage while each job remains open. “Fully loaded” includes employer benefit burden rather than salary alone; the BLS March 2026 management/professional compensation data is used only as a reasonableness check. The recurring infrastructure model also stays explicit: its existing $400K/year allowance is treated as a carrying-cost envelope rather than a one-time purchase. The expanded facility-power proxy treats 7.9 kW as IT load, applies Uptime Institute's 2025 weighted-average PUE of 1.54, and uses the U.S. EIA May 2026 commercial electricity average of 13.54¢/kWh. These are illustrative planning assumptions, not named-vendor pricing. Common object storage, network egress, and customer-specific external key-service charges are excluded unless explicitly shown.

ΞNIGMA 3.0 // SECTION 14 // ENGINEERING DEEP DIVE

Engineering Deep Dive — Stream Architecture Review

ΞNIGMA 3.0 uses a position-addressable keystream engine for bulk payload transformation. Given the same 384-bit randomized Particle origin and block index, the engine reproduces the same 128-byte block; that deterministic addressing is what allows independent workers to process disjoint byte ranges without sharing mutable stream state.

REVIEW BOUNDARY

The Particle Engine is a custom construction. This appendix documents the review posture rather than publishing a source map of internal identifiers. FIPS primitives remain responsible for entropy generation and schedule derivation, while the position-addressable integer-mixing path is one layer inside the larger authenticated K3Y / Trust design.

Stream architecture at a glance

01 · RANDOM ORIGIN6 independent draws384 bits / 48 bytes
x · y · z · r · p · t
02 · SCHEDULEHKDF-SHA-384domain separated
4 schedule sub-keys
03 · ADDRESSBlock indexposition-addressable
7-word derived state
04 · EMIT + XOR128-byte block16 × u64
plaintext ⊕ stream
PhasePrimary inputTransformationReview focus
1 · Random originAWS-LC SystemRandomCreate x, y, z, r, p, t with six separate 64-bit random fills, yielding a 384-bit Particle Origin State.New random origin per protected operation, short lifetime, and zeroization of transient recovery material.
2 · Schedule48-byte Particle originUse HKDF-SHA-384 with a fixed domain separator and distinct labels to derive four 64-bit schedule sub-keys.Deterministic derivation, domain separation, and bounded exposure of seed-derived material.
3 · RefreshSeed, schedule, block indexDerive the block-local state with a 64-bit avalanche-mixing path based on the SplitMix64 finalizer family.Diffusion plus direct seeking: the same block index can be derived without replaying every prior block.
4 · EmitSeven derived state words + stepBuild a per-block aggregate and emit exactly 128 bytes as 16 × 64-bit words in fast and mixed tiers.Whole-state influence, fixed block structure, deeper remixing in the second tier, and temporary-buffer cleanup.
5 · XORByte offset + emitted stream blocksMap byte ranges to block positions and XOR the generated bytes into the payload.Aligned chunking, independent workers, O(1)-style position seeking, and predictable parallel execution.

State, schedule, and block mechanics

MechanicRepresentationEngineering interpretation
Origin randomness384 bits = 48 bytes = 6 × u64The source performs six separate random fills—one for each Particle coordinate—and assembles them into the per-operation origin. The protected origin is committed into Trust and is not intended for logs or operator inspection.
Schedule derivationHKDF-SHA-384
fixed domain separator
4 labeled expansions
Separate labels produce distinct schedule roles while keeping the derivation reproducible. The source treats the fixed label as a domain separator; the schedule remains reproducible because the randomized Particle origin is the protected input; the domain label itself is not secret.
State refresh7 derived words
global term + lane-specific mixing
A shared global influence is computed first, primary lanes remain distinct through different rotations/constants, and later companion lanes cross-feed earlier outputs before block emission.
Position addressingstate = f(origin, schedule, block_index)The refresh step does not depend on replaying accumulated stream history. Any worker can derive the state for its assigned block index directly from the same seed/schedule context.
Block emission128 bytes = 16 × u64Tier 1 favors throughput using the current state and per-block aggregate; Tier 2 reintroduces schedule material and additional mixing. The temporary 16-word buffer is cleared after the output bytes are written.
Byte transformC[offset..] = M[offset..] ⊕ K[offset..]The generated stream is consumed as transient working material for the XOR transform rather than emitted as a customer-visible artifact.

Parallel execution and offset handling

ControlImplementation patternWhy it matters
Small-buffer pathBuffers below 256 KiB remain single-threaded.Avoids Rayon task-spawn overhead when orchestration would cost more than the parallel speedup.
Aligned work unitsParallel chunks begin on whole stream-block boundaries.Each worker starts at a valid deterministic position without partial-block coordination at the boundary.
Worker isolationEach worker creates its own byte-offset view of the engine.No shared mutable engine state, mutex, or inter-worker stream coordination is required for disjoint ranges.
Non-aligned seekstep = N / 128
skip = N % 128
The engine seeks to the containing block, discards the first skip bytes, then continues with full 128-byte blocks.
Deterministic orderingRange work may execute independently while the storage/data-plane layer reassembles or commits output deterministically.Parallelism changes execution timing, not the byte stream produced for a given seed and offset.

Engineering controls beyond the stream

DomainControlObserved design pattern
SECURITYZeroized secrets by defaultAES keys, K3Y material, private keys, seed material, and temporary sensitive buffers are wrapped in zeroizing containers or explicitly cleared after use.
Strict boundaries before work beginsTyped cloud URIs, explicit scheme parsing, vault matching, fixed AES-256 length checks, and bounded K3Y validation reject malformed or misplaced inputs before cryptographic processing.
Clean FIPS and signing boundaryAWS-LC-backed primitives, SHA-384 prehashing, ES384 signing through Azure Key Vault, and explicit signature-format normalization keep standardized cryptographic services identifiable.
Failure-closed orchestrationUnsupported modes, incorrect URI types, missing keys, invalid lengths, vault mismatches, and incomplete K3Y inputs return explicit errors instead of silently downgrading.
DATA PLANEProvider contracts stay separatedInputSource, OutputSink, and KeyProvider traits isolate storage, output commitment, and key retrieval from the core cryptographic job path.
Concurrent reads remain orderedBlob ranges can be downloaded concurrently and measured independently while the consumer still receives a deterministic continuous stream.
Backpressured, commit-gated writesBounded channels, configurable block sizes, concurrent uploads, queue/in-flight counters, and final block-list commit prevent success from being reported before storage is complete.
Telemetry proves the executionQSCC instrumentation records bytes, wall time, throughput, chunk/range timing, queue depth, block timing, and commit duration at the same boundaries where the work occurs.
SECURITY POSTURE

The Particle Engine is the mechanism that generates ΞNIGMA’s full-length operation-specific XOR stream on demand. Each new encryption independently samples a fresh Particle Origin State; Particle generates the payload-matched stream only as bytes are processed, generated stream bytes remain transient, and authorized recovery restores the protected state and recreates the identical operation-specific stream by position. Particle is the custom application stream layer—not a classical information-theoretic OTP—while entropy generation, derivation, authenticated Trust sealing, integrity, signing, and optional PQC protection rely on the standardized controls described above.

ΞNIGMA 3.0 // SECTION 16 // NIST FIPS REVIEW

NIST & FIPS Review

Assessor-facing summary of the cryptographic boundary, implementation evidence, release controls, and standards mapped into the current build. The purpose of this section is to distinguish what is implemented in the product from what still depends on an external certification or authorization process.

Assessment boundary

Implementation evidence is not the same as product certification. The items below describe algorithms, controls, diagnostics, build practices, and runtime behavior present in this release. They do not, by themselves, claim an independent CMVP validation for the complete ΞNIGMA product or a program-level authorization package.

Implemented control map

Review areaImplemented postureEvidence available to an assessor
FIPS core boundaryAES-256-GCM, GMAC, HKDF, ECDSA-P384, and DRBG are explicitly separated from optional post-quantum adjuncts and mapped to the AWS-LC-backed FIPS path.Runtime health output, API behavior, pinned provider dependency, KAT surfaces, and build configuration.
Integrity & release controlPer-chunk GMAC, authenticated K3Y/Trust handling, signer validation, and fail-closed recovery checks gate plaintext release.Trust artifacts, decrypt/unwrap behavior, negative gate tests, signatures, integrity records, and status output.
PQC adjunctML-KEM, ML-DSA, and SLH-DSA are additive controls; they do not replace the classical FIPS core.Feature-gated key paths, encrypt/decrypt/unwrap flows, Trust stack flags, and PQC KAT coverage where enabled.
Operational auditabilityKey URIs, K3Y artifacts, redacted Trust output, health/KAT endpoints, and automated validation create reviewable evidence paths.Release logs, Trust JSON, K3Y/unwrap outputs, health reports, KAT reports, and test artifacts.

Release engineering evidence

AreaCurrent release controlsReview mapping
SBOM & supply chainSPDX 2.3 and CycloneDX SBOMs are generated per release; checksums cover the binary and SBOM artifacts; the release workflow signs the checksum set. cargo deny ... --locked and cargo audit --locked gate dependency/advisory posture.CM-8 · SA-12 · RA-5
Container baselineMulti-stage build, minimal Debian-slim runtime, non-root UID 10001, read-only production posture, no host mounts, AMD64/ARM64 build outputs, pinned Rust toolchain/dependencies, and AWS_LC_RUST_FIPS=1 at build time.AC-6 · CM-2 · CM-2(1) · IL6/FedRAMP readiness
Rust implementationaws-lc-rs = "=1.17.0" is pinned; seed-bearing and scratch material use zeroize; the cryptographic hot path avoids unsafe; position-addressable generation enables lock-free parallelism; PQC is feature-gated; TLS uses rustls.SC-13 · SA-11b · IA-5
Automated validationCoverage includes ECDSA stack roundtrips, AAD collision/boundary behavior, known-answer vectors, nonce uniqueness, Particle-key safety properties, and in-binary encrypt→decrypt fitness testing. The operator harness also exercises release-build health, roundtrip, gate-failure, unwrap, metering, and re-encryption paths.SA-11 · SI-2 · AU-2

Standards implementation map

Standard / control familyHow it appears in the current buildProduct statusReview note
FIPS 140-3 posture
runtime cryptographic boundary
FIPS-gated crypto path, AWS-LC-backed primitives, and health/API surfacing of the configured posture.ImplementedComplete-product CMVP scope and certificate status are external to this document.
NIST SP 800-90A
DRBG usage
Randomness path used for per-operation Particle seed generation and nonce-generation inputs.ImplementedReview should trace runtime configuration and provider boundary as part of the FIPS assessment.
FIPS 186-5
ECDSA-P384
Primary Trust signature baseline, with optional secondary ECDSA and decrypt-time pin/verify behavior.ImplementedClassical signing remains the baseline authentication path.
FIPS 203
ML-KEM / Kyber-768 family
Optional K3Y wrap/unwrap adjunct exposed through PQC key references and runtime flow.Optional adjunctAdditive to the FIPS core; feature and deployment scope must be reviewed separately.
FIPS 204
ML-DSA
Optional Trust signature adjunct with verification during decrypt/unwrap when present.Optional adjunctOperates alongside the ECDSA baseline rather than replacing it.
FIPS 205
SLH-DSA
Optional stateless hash-based Trust signature adjunct with verification on decrypt/unwrap when present.Optional adjunctProvides a second PQ signature family for implementation diversity.
CMVP / program authorizationExternal certification, authorization, evidence packaging, and deployment-specific scope decisions.External processNot implied by the implementation checklist above.
Assessor takeaway

The review package is strongest when treated as implementation evidence: a clearly separated FIPS core, optional PQC adjuncts, explicit recovery/integrity controls, reproducible release artifacts, and automated validation surfaces. Formal product validation or program authorization should be tracked as a separate external workstream with its own scope and evidence requirements.

ΞNIGMA 3.0 // SECTION 17 // QUICKSTART

Onboard in under 10 minutes on Azure.

Once the ΞNIGMA service, Azure Blob Storage, Key Vault, and an authorized bearer token are available, the first protected object follows a four-step application workflow: provision references, point to the object, encrypt, then verify recovery and Trust evidence.

What must already exist

Azure / service dependencyQuick-start requirement
ΞNIGMA runtimeDeployed inside the customer Azure boundary and reachable through the configured API endpoint.
Blob StorageA source container for plaintext plus destinations for ciphertext, restored plaintext, and the K3Y artifact.
Azure Key VaultA vault the runtime is authorized to use for the FIPS key references and any enabled PQC adjunct material.
AuthorizationA valid bearer token and cloud identities/roles that permit the runtime to read and write the referenced resources.

Four-step application flow

StepActionAPI / objectResult
01Provision referencesPOST /v1/keygenGenerate or register the AES, signing, and optional PQC material needed by subsequent operations; retain the returned stable vault references.
02Point to the objectaz://… URIsIdentify the source object, ciphertext destination, and K3Y destination. Payload bytes remain on the customer-controlled data path.
03EncryptPOST /v1/job
type = encrypt
Read the source in-boundary, apply the Particle XOR byte transform, generate/seal the K3Y recovery artifact, record Trust evidence, and write ciphertext to the destination URI.
04Recover & verifyPOST /v1/job
type = decrypt
Use the corresponding K3Y and required gates to authorize recovery, verify configured integrity/signature controls, reconstruct the Particle stream, and write restored plaintext to Blob.

Minimal calls

01 · Provision key references
POST/v1/keygen
{
  "vault": "pqc-kv",
  "prefix": "onboard-demo"
}
03 · Submit the first encrypt job
POST/v1/job
{
  "type": "encrypt",
  "source_uri": "az://pqc/plain/report.parquet",
  "destination_uri": "az://pqc/enc/report.parquet",
  "k3y_uri": "az://pqc/k3ys/report.k3y",
  "aes_256_gcm_uri": "kv://pqc-kv/onboard-demo-aes"
}

Verify the first roundtrip

CheckExpected artifact / stateWhat it confirms
Ciphertext writtenaz://pqc/enc/report.parquetThe encrypt operation completed and committed the protected object to customer-controlled storage.
K3Y written separatelyaz://pqc/k3ys/report.k3yRecovery material and Trust evidence remain separated from the ciphertext object.
Decrypt succeedsRestored plaintext objectThe matching K3Y, gates, and configured verification controls authorize the recovery path.
Payload matches sourceIndependent digest / byte comparisonThe end-to-end encrypt→decrypt roundtrip restored the original object exactly.
Quick-start boundary

The “under 10 minutes” path is the application onboarding flow, not Azure infrastructure provisioning. Deployment, IAM, network policy, entitlement, and Key Vault/Blob preparation should be completed first. Once those controls are ready, onboarding is intentionally reduced to a small set of API calls and URI references.

API Reference →Production Onboarding →
ENIGMA.US.ORG // ON STATIONΞNIGMA 3.0 // SUPPORT
ΞNIGMA3.0

DEPLOY IT.OPERATE IT.

Security review, FIPS/PQC posture, Trust/K3Y policy, codes · enforce · info, SIEM/JSON integration, key-system integration, performance validation, and production support.

OFFICIAL WEBSITEenigma.us.org
Security reviewDeploymentTrust / K3YSIEM / JSONPQC + FIPSPerformance
THE NEW ENIGMA + PQC STACK // BUILT TO PROTECT WHAT COMES NEXT.