Research notes / Experimental cryptography
We built a cipher.
Then we tried to break it.
128 fresh keys. 16 round counts. A real attack on a shortened cipher—and a much harder question about the full design. Inside Secra’s AXB-NG research.
The most useful result in our latest encryption experiment was a successful decryption.
An attack program was given access to a deliberately shortened version of AXB-NG, our experimental block cipher. It could submit inputs and observe encrypted outputs. The secret key stayed inside a separate test process. After studying those responses, the program recovered enough internal key material to read fresh encrypted blocks it had never seen before.
That is a practical break of the shortened design. It gave us something far more informative than a screen full of apparently random bytes: a repeatable result with a clearly defined boundary.
The distinction matters. The attack succeeded against one-, two- and three-round variants. The full candidate has 16 rounds. These particular methods did not produce a complete recovery at four through sixteen rounds, and they did not recover the master key. That leaves a serious research question open: how much further can a better attack reach?
01 / The starting point
Curiosity is easy. A security argument is harder.
The project began with a familiar fascination: could we build an encryption system of our own? Early ideas explored tangled structures, unusual arithmetic and the visual language of webs and topology. They made for interesting questions. They also forced an uncomfortable distinction between something that looks difficult and something that resists an adversary.
A dense knot can be hard to interpret. That does not establish that the information encoded in it is hard to recover. A mathematical problem can have difficult instances without every instance produced by an encryption scheme being difficult. A decorative layer can add complexity while leaving a simpler route underneath.
So the work moved toward an experimental candidate we could implement consistently, freeze and challenge. AXB-NG is a custom construction using established cryptographic concepts. We are not claiming to have invented all of its mathematical ingredients, and the topology imagery in this article is a metaphor rather than a security proof.
AXB-NG is also a cipher, not a hash function. A hash produces a digest. A cipher must let the intended recipient recover the original information with the right key. In our current candidate, the key and block sizes are both 256 bits. That describes its dimensions; it does not establish 256 bits of security.
02 / Finding the first foothold
Why attack a smaller version?
A round is one repeated stage of a cipher’s transformation. Reducing the number of rounds gives researchers a simpler version to examine. Patterns that disappear in the complete construction may remain visible when only a few stages are present.
That makes a shortened cipher useful in two ways. It helps locate weaknesses, and it checks whether the testing machinery can recognize a weakness at all. A test suite that never detects anything may be reassuring only because it asks the wrong questions.
For the latest campaign, we tested every round count from one through sixteen, using eight newly generated random keys at each count. The result was consistent within this sample: complete expanded-subkey recovery in all eight cases at each of the first three round counts; no complete recovery from the tested extensions at any longer count.
A subkey is working key material used inside the cipher. Recovering the complete set needed by a shortened variant can let an attacker reproduce its encryption and decryption without discovering the original master secret. That is why “we did not recover the master key” would be an inadequate description of the successful cases: the attack still recovered the information needed to read those shortened-cipher messages.
The opposite distinction is equally important. Recovering those subkeys does not reveal the missing rounds’ key material or demonstrate a break of the complete design. And the gap between three and sixteen rounds is not a measured security margin. Our extensions tested specific mathematical models; they did not exhaust the possible attacks on each longer variant.
03 / Making a result earn its name
A recovered key has to do something.
Finding a plausible-looking candidate is not enough. We asked each successful recovery to make predictions on new data and then perform a task that matters: decrypt unknown plaintext.
The test target generated its secret using the operating system’s secure random source. During the attack, the client could request encryptions of chosen inputs, but it could not request the key, internal states or decryptions. The separation was part of the experimental design, not a claim that a local process is a hardened security sandbox.
Once a candidate was submitted, it faced 64 fresh encryption-prediction checks and 32 independently generated unknown-plaintext challenges. Across the 24 successful reduced-round cases, that produced 1,536 correct predictions and 768 recovered plaintext blocks. These were test blocks from disposable research targets, not intercepted private messages.
We also replayed 37 cases through separate reference arithmetic: all 24 successes and one negative case at each longer round count. That helps catch disagreement between implementations. Because the replay shares attack logic, it is not an independent cryptanalytic review.
The latest campaign used 214,016 encryption queries, including the fresh prediction checks, plus 768 separately generated challenge encryptions. Those are measurements of work performed. They are not 214,016 guesses at the master key, and they do not translate into a probability that the cipher is secure.
04 / Beyond the big numbers
A million tests can still ask a narrow question.
Earlier evaluation had already performed approximately 12.6 million primitive encryption and decryption calls. About 3.71 million used the full 16-round candidate; the rest examined shortened variants. These runs screened for selected relationships between inputs and outputs, tested structured inputs and checked whether deliberately easier cases triggered the expected signals.
Another investigation exhaustively examined more than 66.5 million assignments within one precisely defined family of structural paths. None was locally feasible. A separate algebraic calculation supported that same restricted exclusion.
The word restricted carries much of the meaning. Exhausting one family can settle a useful mathematical question while leaving other families untouched. Those 66.5 million assignments were mathematical cases, not guessed keys or successful attempts to decrypt messages. A related analysis of a different family did find locally feasible paths, which did not by themselves amount to a full-cipher attack.
This is where scale and insight part company. More computation can improve coverage. A better attack model can change the question entirely. Repeating a method that no longer applies does not make it applicable again, however long it runs.
The useful question is how much of the design an attack explains—and whether that explanation survives a fresh challenge.
AI assistance can speed up implementation, comparisons and the search for mistakes. It does not turn a finite experiment into a proof. An AI failing to decrypt a sample is an observation about that attempt, under those conditions. It is not a verdict on the cipher.
05 / Where the mathematics meets software
A cipher is only part of a private messenger.
Even excellent mathematics can sit inside a fragile application. Software has to reject altered records, parse lengths correctly, handle keys safely and avoid exposing information through its behavior. Those are different questions from whether a particular algebraic attack succeeds.
In a separate record-handling campaign, all 11,271 distinct unauthenticated malformed records were rejected before the experimental cipher was invoked. Tests also rejected 1,520 malformed inner encodings with valid outer authentication, while accepting 512 valid controls. That second set tested the parser after authentication; it was not a successful forgery.
An instrumented native build completed 139,840 block calls across 4,096 cases without a memory-sanitizer finding. A deliberately faulty test control confirmed that the detector could fire. This says something about the executed paths in that instrumented build. It does not establish that every memory bug or timing leak has been eliminated.
For protected demo records, we rely on an established authenticated-encryption layer, AES-256-GCM-SIV. It supplies the confidentiality and authentication basis while AXB-NG remains experimental; we have not demonstrated extra security from adding NG. The established scheme is specified in RFC 8452.
A working record demo therefore is not a complete secure messaging service. Someone still has to answer who is on the other end, how keys are established, whether an old message can be replayed and what happens to past conversations if a key is later compromised.
06 / The next meaningful challenge
Give the design to people who did not build it.
The next useful step is outside cryptanalysis: researchers who can inspect the complete design, reproduce the results and try approaches we have missed. We have prepared a technical review package for that purpose. No external human audit has been completed.
This article deliberately omits keys, raw captures, constants and the implementation recipe. That is an editorial boundary, not an assumption on which the cipher’s security should depend. Meaningful reviewers need the full specification and source. An attacker’s unfamiliarity with a design is not evidence that the design is sound.
There is a reason established algorithms earn trust through extensive scrutiny. The AES selection process, for example, invited public analysis of competing designs through multiple review rounds before a standard was chosen. That history sets a useful expectation for how much work lies beyond a promising experiment. NIST documents the process here.
For AXB-NG, the immediate priorities are stronger attack models, independent reproduction and a closer examination of implementation behavior. If an attack reaches further, that is valuable evidence to understand before changing the candidate. Preserving the tested version gives future reviewers a stable target and makes comparisons meaningful.
Today, the project has a concrete result to hand them: a working attack on shortened variants, fresh challenges that verify what it recovers, and an explicit account of what the experiments leave open.
The next breakthrough could be a stronger design. It could also be a better attack. At this stage, either would teach us something we need to know.

