There is a specific kind of stalemate in compliance work that nobody enjoys.
One party holds the evidence — an access log, an event trail, a database of decisions made by a system. Another party is supposed to attest to what happened: how many, how often, how severe. The first party will not hand over the records, because they identify people, clients, or employees. The second party will not accept a number produced by a black box, because a number you cannot verify is a rumour with a decimal point.
So the audit either does not happen, or it happens on data that has already been weakened to the point of being meaningless.
The wrong question gets asked first
Every conversation about this ends up in the same place: can cryptography compute on data without decrypting it? The answer has been yes since 2009, and the idea itself is from 1978. Fully homomorphic encryption is real, it works, and there are mature open libraries for it.
Which means that question is settled, and asking it is a way of not asking the useful one:
For a given trail and a given query, how many cryptographic operations does the answer cost, and can somebody else check that arithmetic without owning an FHE stack?
The first half decides whether a deployment is viable. The second half decides whether the result is worth anything in a dispute, an audit, or a procurement.
Today we published the answer to both — openly, with a DOI and a timestamp, and with the ugly parts left in.
What was published
A specification, a pre-registered evaluation protocol, and a harness. The harness is about 1,400 lines of Python with no dependencies beyond the standard library, and 25 tests whose expected values are derived on paper from the specification rather than recorded from a previous run. If the arithmetic changes, the tests have to be re-derived by hand, which is the point.
Four aggregates are defined over a typed trail: count, sum, histogram, and
threshold_count, each with equality filters. For every one of them the
specification states the number of ciphertext multiplications, additions,
rotations and the multiplicative depth it costs, per ciphertext, given the slot
count.
And then there is the part that matters more than the formulas:
The latency column is deliberately empty.
Without a calibration record measured on real hardware, the harness prints
"latency": null and says so in a note. There is no default timing constant
anywhere in the code. A benchmark whose constants were invented cannot be
refuted, and an unrefutable benchmark is not evidence — it is decoration.
What this is not
It is not a claim to have invented homomorphic encryption. That would be embarrassing to say out loud, and it would be the first thing any reviewer checked.
It is not a working encrypted implementation, either. The encrypted backend is a
function that raises NotImplementedError, with a message explaining what a
conformant implementation would have to satisfy. A stub returning a plausible
number would have been easier to write and would have made the whole thing
worthless.
What it is: a design and its evaluation protocol, published before the implementation exists, so that the design can be attacked by people who do not need our permission, our hardware, or an account. Six falsifiable hypotheses are stated in advance, along with the thresholds that would make us abandon the approach.
Then we verified our own archive, and it failed. Twice.
This is the part worth reading, because it is the part that usually gets quietly deleted.
The deposit ships a SHA-256 manifest of every file and an RFC 3161 timestamp over that manifest from an external authority. The claim is simple: anybody can download the archive and check both, without trusting us.
We did exactly that, as a stranger would, after publishing:
Version 1.0.0 failed. The files were uploaded, but the manifest and the timestamp were not. So the proof pointed at a file that a reader could not obtain. The seal was real, and the chain was broken at the last step — which is worse than not sealing at all, because it looks finished.
Version 1.0.1 failed too. Manifest and seal were now included, but the publishing script rewrote the citation file after sealing it. Anyone downloading the archive would have found a manifest whose own contents no longer matched the hash that had been signed.
Version 1.0.2 is the first one that verifies end to end from the public record alone: 26 of 26 hashes match, and the timestamp verifies against the bundled certificate chain.
Both defects were ours. Both were found by performing the verification instead of assuming it. And both are written into the changelog rather than quietly superseded — because the failure mode this whole exercise argues against is exactly the one where a plausible-looking artefact is never actually checked.
The lesson generalises beyond cryptography: publishing is not uploading. It is uploading everything a stranger needs to disagree with you, and then not touching anything afterwards.
The leak that encryption does not fix
One more thing, and it belongs in the specification rather than a footnote.
FHE protects the records as they pass through the computation. It does not protect the answer. If a histogram has a bucket containing exactly one person, an aggregate over encrypted data still identifies that person — perfectly, and without breaking any cryptography at all.
A minimum-bucket-suppression rule is therefore a deployment requirement, and it is not implemented in this version. Neither is protection against a malicious node that returns a wrong result; that needs verifiable computation, which is a different problem with a different literature.
Writing down what a design does not do is not humility. It is the only way the list of what it does do can be believed.
Why publish the design before the implementation
Because priority belongs to whoever fixes a thing in public, and because a design that has been attacked is worth more than a prototype that has only been demoed.
The next step is a proof of concept on a library that already exists — OpenFHE, SEAL or TFHE-rs — over a trace we actually have, with a calibration measured on real hardware so the latency column finally contains a number. If the numbers are bad, the paper says what happens then too: it gets published as a negative result, which is still a result, and still dated.
Read it
- Whitepaper (PDF/Markdown): LAIA whitepaper 25
- DOI (concept, always latest): 10.5281/zenodo.24581624
- This version: 10.5281/zenodo.24582258
If you can show the cost model is wrong, or that this protocol already exists somewhere and we missed it, we would rather know. That is not a figure of speech: a refutation is a better outcome than an unexamined claim.
