Technical paper

Omni-Encryption measurement report, 5 December 2026

Product
Omni-Encryption
Version
0.8.0
Date
2026-12-05
Classification
Public

Environment, test-suite results, the built-in lab check, benchmark method and results with the older July figures, sizes on the wire, interpreter coverage, known gaps by topic, and how to repeat the measurements.

Summary of results

This report records what was run against Omni-Encryption 0.8.0 on 5 December 2026, on which machine, under what load, and what the results do and do not show.

MeasureResult (5 December 2026, one Apple M4 Max under heavy load)
Test suite at the revision read485 passed, 1 failed, 3 skipped, 12 expected failures and 1 collection error; 501 tests collected.
Built-in lab check26 of 26 rows held; one row is informational.
Hybrid handshakeMedian 10.4 ms and 95th percentile 21.9 ms over 20 iterations, with identities already generated.
1 KiB encrypt and decrypt per second8.7 to 8.9 thousand for the package's own paths against 214 thousand for raw AES-256-GCM in the same process, about 24 times slower.
Added per message130 bytes with AES-256-GCM alone and 146 bytes with the cascade.
Handshake on the wire8,819 bytes.

Read every number with these conditions. The host was under heavy load. Nothing crossed a network, because the package has no network transport. The project wrote both the tests and the probes, and no independent party took part.

Subject

The subject is Omni-Encryption 0.8.0. The measurements read the committed source tree as it stood on 2026-12-05. Uncommitted files in the working copy were not used.

A newer line of development exists. It was used only to compare test results, the lab check and the command list.

Environment

ItemValue
MachineApple M4 Max, 16 cores
Operating systemmacOS 27.2.1
Python3.12.14
cryptography package49.0.0, built against OpenSSL 4.0.1
Test runnerpytest 9.1.1
Dates2026-12-05, 00:36 to 00:51 EST
Host loadLoad averages ranged from 16 to 63 on 16 cores during the runs. They were 18, 38 and 36 at the test run, 25, 32 and 30 at the lab-check run, and 63, 46 and 36 at the benchmark run (1, 5 and 15 minutes).
NetworkNone. The package has no network transport, so nothing crossed a network.

The first test, lab-check and help runs used the tester's normal shell environment, in which sibling packages are installed. Every later run used a clean environment with an empty home directory. The test suite was repeated in the clean environment because its results differ.

Test suite

The suite was run on 2026-12-05 from the extracted tree with this command.

python3.12 -m pytest -p no:cacheprovider -q -rfEs --continue-on-collection-errors

A first run without the option that continues past collection errors stopped at the one collection error and ran no tests (exit 2).

ResultRevision read, normal environmentRevision read, clean environmentNewer development line, normal environmentNewer development line, clean environment
Passed485470554 (and 31 subtests)539 (and 31 subtests)
Failed1100
Skipped3535
Expected failures (strict)12121111
Collection errors1212
Run time2.45 s4.19 s2.78 s3.42 s

The suite at the revision read has 56 test files and 412 test functions, and 501 items were collected.

Reading the results:

  • The one failing test is a consistency check on the source manifest. It is not a cryptographic test.
  • The collection error in the normal environment is an adapter test module that loads a module from a sibling repository, which is not in the extracted tree.
  • In the clean environment two modules cannot be collected. One needs a sibling maths repository, as in the normal environment. The other, and two more skipped tests, import a sibling package that the project file does not list.
  • Of the 3 skipped tests in the normal environment, two need a sibling checkout and one is attached to dual-control wording that the project's changelog records as withdrawn.
  • The 12 strict expected failures are the project's own record of known gaps. The topics are listed under Known gaps by topic.

Lab check

The redteam command creates a fresh pre-shared-key AES-256-GCM peer pair for each probe and applies the probe to it. It exits 0 when every row holds and 2 otherwise. On 2026-12-05 it ran on both trees: 26 of 26 rows held and there were no breaks.

The probes apply:

  • single-bit flips in the message body and in each header field;
  • a wrong key, wrong peer names and a different session;
  • truncation, and empty, short, random and partial-header inputs;
  • wrong associated data;
  • replay of a delivered message, a skipped sequence number and an observation of nonce reuse;
  • a storm of 32 forged messages, followed by a check that a legitimate message still opens and that no key, epoch or sequence changed;
  • a forged rekey request and a forged rekey acknowledgement;
  • a record of whether ciphertext length reveals plaintext length.

One of the 26 rows, the length record, is informational and cannot fail. It shows that length is revealed, as expected for AES-GCM. An earlier lab-check report in the project, from 2026-07-17, also shows 26 rows run and 26 held.

What the lab check does not cover:

  • It runs in one process.
  • It uses pre-shared-key AES-256-GCM sessions, so it does not exercise the cascade or the handshake.
  • The project wrote it, and the project's security notes call it a lab feedback loop. It is not a third-party test.

Sample output, shortened:

HOLD   bit_flip_body     rejected: ValueError: authentication failed
...
HOLD   forged_rekey      rejected: authentication failed
HOLD   forged_rekey_ack  rejected: rekey acknowledgement authentication failed
HOLD   length_leak_gcm   pairs=[(0, 130), (1, 131), (16, 146), (100, 230)]; length_revealed=True (expected for AES-GCM)

26/26 defenses held

Benchmark

The benchmark command ran once, at its only setting. It times 10 identity generations, 20 handshakes and 20 peer-pair setups, and message sizes of 64 bytes, 1 KiB, 16 KiB and 64 KiB, with 200 iterations for the raw AEAD paths and 100 for the package's own paths, after warm-up. A round trip is an encrypt followed by a decrypt in one process. The command writes a Markdown and a JSON report into the current directory.

All results below were measured on 2026-12-05 on one Apple M4 Max, with a load average of 63 on 16 cores at the benchmark run, in one Python process.

Setup operationMedian95th percentilePer second
Identity generation (10 iterations)1.210 ms1.239 ms821.5
Hybrid mutual handshake, identities already generated (20 iterations)10.430 ms21.911 ms77.5
Authenticated peer pair: handshake plus four cipher endpoints (20 iterations)12.176 ms18.602 ms76.7
1 KiB round tripPer secondMedian per round trip
Raw AES-256-GCM214,0710.0047 ms
Raw ChaCha20-Poly1305150,9740.0064 ms
Low-level cipher with the cascade (its default)8,6690.113 ms
Peer session after the hybrid handshake (AES-256-GCM)8,8510.105 ms
Second-layer envelope, wrap and unwrap31,2540.0295 ms

At 64 KiB the peer session after the handshake ran 5,721 round trips per second.

At 1 KiB the low-level cipher with the cascade ran 24.7 times slower than raw AES-256-GCM, and the session after the handshake ran 24.2 times slower. The second-layer envelope ran 6.85 times slower. Setting up a pre-shared-key peer pair took a median of 0.063 ms, against 12.2 ms for the authenticated pair, about 193 times as long.

Reading the results:

  • The handshake figure is similar in the July file and in this run, 10 to 12 ms. A handshake happens once per session, not once per message.
  • The default cipher with the cascade and the AES-256-GCM session ran within about 2 percent of each other at 1 KiB. That suggests the Python-level work around the cipher call, not the second cipher, dominates the time. It is an inference; the code was not profiled.
  • The benchmark's own label for the default-cipher row does not mention the cascade, although the cipher it builds uses it.
  • The project says its numbers are not a service level and should be regenerated on your hardware.
  • The benchmark has no size or iteration options, so it was run once at its only setting, and the iteration counts are small. With the host under heavy load, absolute numbers have low confidence.

Earlier figures from July 2026

The project holds an earlier results file, dated by its commit 2026-07-17. The table sets it beside the 2026-12-05 run.

ItemJuly 2026 results file2026-12-05 run
Handshake, median12.116 ms10.430 ms
Handshake, 95th percentile20.925 ms21.911 ms
1 KiB round trips, default path19,242 per second8,669 per second
1 KiB round trips, session after the handshake18,740 per second8,851 per second
1 KiB round trips, raw AES-256-GCM400,635 per second214,071 per second
Ratio to raw AES-256-GCM20.8 and 21.4 times slower24.7 and 24.2 times slower
MachinemacOS 26.5.2 on arm64; no CPU model recordedApple M4 Max with 16 cores, macOS 27.2.1
Python3.12.133.12.14
Code stateBefore the cascade became the default of the low-level cipherAfter
Host loadNot recordedLoad average 63 on 16 cores at the benchmark run

The cascade default was added on 2026-07-31, after the July file was produced. The two files differ in machine, in code state and in an unrecorded load, so they are not read here as a trend, and neither is a fixed ratio. The July figures are an older, dated comparison.

Sizes on the wire

ItemSize (measured on 2026-12-05)
Added per message, AES-256-GCM alone130 bytes
Added per message, cascade146 bytes
Key-exchange data in the handshake1,600 bytes: a 32-byte X25519 value and a 1,568-byte ML-KEM-1024 ciphertext
Sender authentication in the handshake7,219 bytes: a 2,592-byte ML-DSA-87 public key and a 4,627-byte signature
Handshake in total8,819 bytes
Second-layer key file written by the key command295 bytes of JSON, readable by its owner only (mode 0600)
Largest file the sealing command accepts16,777,216 bytes of plaintext

The per-message overhead is constant. The length record shows messages of 0, 1, 16 and 100 bytes becoming 130, 131, 146 and 230 bytes under AES-256-GCM.

Interpreter coverage

Interpretercryptography packageResult
Python 3.12.1449.0.0Full runs: test suite, lab check, benchmark and commands.
Python 3.11.16Not installedFails with a missing-module error for the cryptography package. The package itself was not run on Python 3.11.
Python 3.14.850.0.1 (outside the declared range)The hybrid handshake demonstration ran and reported a successful round trip.

The declared range is Python 3.11 and 3.12 with cryptography 49.x. Only Python 3.12 was run in full.

Known gaps by topic

TopicGapHow it is recorded
Identity pin storeThe pin file is plain JSON and is not tamper-evident. A fingerprint is trusted from the file. The saved file follows the process umask and was group-writable in the project's own test at the revision read. Loading is not audited. A pin accepted on first use never expires.Eight strict expected failures
Pin rotationThe rotation token is supplied by the same caller that presents it, so rotation is not independent dual control. The token is compared without a constant-time check. Installing with the overwrite option bypasses rotation.Strict expected failures
Peer authenticationML-DSA-87 alone. It is not hybrid, and the sender authentication carries one signature.Two of the four strict expected failures in the hybrid and interop group
Destination classificationAn address in the IPv6 documentation range is classed as a fleet destination. Classification is a heuristic: private-range and other non-global addresses and single-label names count as fleet.A strict expected failure
Plaintext-URL flagA fourth strict expected failure in the hybrid and interop group concerns a plaintext-URL flag.A strict expected failure
Key storagePlaintext hex in a file readable by its owner only, or environment variables. No keystore, hardware module or passphrase.Stated limit; no test
Replay protectionThe built-in replay store is designed for one process.Stated in the project's operator guide
Message lengthCiphertext length reveals plaintext length. There is no padding.Informational row of the lab check
Cascade over a handshake sessionIt works when selected, but no test covers that combination.Found by a probe on 2026-12-05
Forward secrecy and key-committing propertiesThe project's catalogue names both. No test checks either, and they were not assessed.Not tested
Version labelsThe package reports 0.8.0, while the project's readme and changelog still say 0.7.1.Found while reading the tree

Limits of this method

  • The project wrote the tests and the lab-check probes and ran them. No independent party was involved.
  • Everything ran on one machine, and the two peers of every exchange ran inside one process. There was no network, no concurrency stress, no side-channel or constant-time measurement, and no fuzzing beyond the listed probes.
  • The ML-KEM and ML-DSA implementations come from the cryptography package and were not examined.
  • The package was not installed. The commands ran as python -m aios_omni_encryption with the source tree on the Python path, so the console commands the package declares were not exercised.
  • The benchmark ran once, with small iteration counts, on a loaded host.
  • Python 3.11 was not tested with the package.

Repeat the measurements

With the source tree, Python 3.12 and cryptography 49.x, the tool's own commands repeat the lab check, the handshake demonstration and the benchmark, and pytest repeats the test suite.

# from the root of the source tree
PYTHONPATH=src python3.12 -m aios_omni_encryption redteam
PYTHONPATH=src python3.12 -m aios_omni_encryption handshake-demo
PYTHONPATH=src python3.12 -m aios_omni_encryption bench
python3.12 -m pytest -p no:cacheprovider -q -rfEs --continue-on-collection-errors

The benchmark command writes its Markdown and JSON reports into the current directory. Expect different absolute numbers on a different machine or under a different load. Compare ratios and sizes first, and quote your own conditions beside your own numbers. The evaluation manual describes every command and what it prints.

Document history: first published 2026-12-05.