Rogue Intelligence Research & Computing

03 / Research · Cryptographic systems

Yaksha

Experimental symmetric encryption: a deterministic primitive, parameters derived from the key, a neural-inspired mode, and a stateful authenticated wrapper. It is not a certified product, and it is not Val-Crypt.

Crate 1.0.0ProprietaryNot a security proof

Research question

Can a parameterized symmetric construction separate a reversible transform, a session, and an integrity tag — and what do statistical batteries actually say about the bytes it emits?

How the crate is arranged

The library comment in yaksha-cipher 1.0.0 describes three layers. A stateful key derivation function differentiates sessions. The encryption primitive is deterministic: the same key and the same plaintext produce the same ciphertext at that layer. A MAC binds ciphertext and associated data. The public surface names four modes: core, parametric (parameters taken from the key), neural (described as MeshBrain-inspired), and aead (YakshaAead).

  1. 1YakshaKdf

    Session material. Uniqueness is a protocol property, not a property of the bare primitive.

  2. 2Primitive

    Core, parametric, or neural transform. The crate also contains vector and geometric modules marked legacy or experimental.

  3. 3YakshaMac

    Authentication on decrypt. A failed tag is an integrity failure, not a decryption of a different message.

The crate manifest depends on Rayon, so the parallel work in this version is CPU-side. It does not depend on a GPU toolkit. Throughput claims that require a GPU are not made on this page.

The README states avalanche and key sensitivity of about 50%. Those are diffusion measurements reported by the project. They are not a security reduction.

Ocean

ocean_pipeline.rs is a two-phase wrapper around a cipher body. Encrypt applies ocean phase one, then the body, then ocean phase two. Decrypt reverses that order. A session anchor is derived from the key. The wrapper is part of Yaksha. It is not the Val-Crypt paper.

The Dieharder record

File DIEHARDER_REPORT.md, 31 January 2026, dieharder 3.31.1, 50 MB per test.

Randomness of ciphertext under the stated inputs. Not a cryptanalysis.
ModeInputReported result
NeuralRandom plaintext49/54 passed. Weak: diehard_opso, diehard_craps, one sts_serial width. Failed: marsaglia_tsang_gcd, both repetitions.
Parametric, coreRandom plaintextAbout 90%, with the same GCD test as the consistent failure.
CoreSequential bytesAbout 18%. The report says residual structure survives the cascade.
Bar chart of Dieharder pass rates: neural random input 49 of 54, parametric and core random input about 90 percent, core sequential bytes about 18 percent.
The same 31 January 2026 record, drawn as pass rate. Random input already carries entropy. The sequential bar is the stricter comparison.

The report itself notes that random plaintext already carries entropy, so a pass on random input is a weaker statement than a pass on structured input. The sequential failure is the more informative row. No PractRand log was in the folder. No June 2026 Yaksha statistical report was found there; the dated randomness record is 31 January.

Val-Crypt is a different construction

Val-Crypt is a separate public repository. Its README describes two reversible modes that share a cascade. Vector mode treats 4 bytes as a 4-dimensional vector and applies ARX quarter-rounds. Entropy mode chooses a per-byte transform from a deterministic entropy path, using odd multiplication so the step stays invertible modulo 256. The README reports, as author measurements, avalanche of 50.7% and 53.6%, and throughput of 885 MB/s and 888 MB/s. A January 2026 note in the private tree is a technical manuscript of that design. It is not peer reviewed on this site.

Some files inside the local yaksha-cipher directory are titled as Val-Crypt reports, including a scientific report dated 31 January 2026 that discusses prefix leakage, deterministic encryption, and a two-round ARX schedule. Those findings belong to that Val-Crypt write-up. They are not relabeled here as Yaksha results, and the two systems are not merged into one algorithm.

Val-Crypt repository. License stated there: MIT.

Limits

No independent cryptanalysis is claimed. A Dieharder pass is not a proof of confidentiality, authenticity, or misuse resistance. The crate is proprietary (LicenseRef-Proprietary-Rogue-Intelligence-LNC, publish = false). The repository URL in the manifest returned 404 when this page was written, so no public source link is offered for Yaksha.

The construction is not presented as FIPS validated, or as a replacement for a standardized AEAD.

Collaboration

Appropriate work is implementation review, an independent randomness battery on structured plaintexts, or a cryptanalysis that is allowed to fail. Licensing of the proprietary crate is a separate request. Contact.

Sources read for this page

  • Local yaksha-cipher 1.0.0: README.md, Cargo.toml, src/lib.rs, src/ocean_pipeline.rs, DIEHARDER_REPORT.md.
  • Public Val-Crypt README. Local Val-Crypt notes were used only to keep the two projects apart.