frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Ariadne – A Rust implementation of aperiodic cryptography

https://codeberg.org/CipherNomad/Ariadne
16•ciphernomad-org•4h ago
Hello HN, we're CipherNomad, the research initiative behind this project.

The Ariadne Protocol is our exploration of a different cryptographic model. The work began with an observation of primitives like the Lion transform, which use a static, hardcoded sequence of operations. This led us to ask: What if the cryptographic "program" wasn't a constant, but a dynamic, history-dependent variable?

Our first step was a "Cryptographic Virtual Machine" that took an explicit list of operations (a "Path"). This worked, but required sharing the Path object—an explicit dependency that needed to be managed.

The Ariadne Protocol is the maturation of that idea. It eliminates the explicit Path by making it implicit and emergent.

The core design is:

The Labyrinth: A large, deterministically-generated binary tree of cryptographic rounds.

The Thread: The secret path taken through the Labyrinth. This path is not stored or transmitted. It's rediscovered for each block of data by computing a keyed hash of the CVM's secret state and the public ciphertext chunk: hash(key, state, chunk).

This makes the cipher aperiodic: because the state ratchets forward after every block, the sequence of operations is guaranteed to never repeat. It also creates inherent tamper evidence—any modification to the ciphertext "snaps the thread" and turns subsequent output into noise.

This is experimental, unaudited alpha software. We are publishing it under CC0 because we believe foundational work like this should be an unrestricted public good.

Comments

stop50•2h ago
Wrong link: https://codeberg.org/CipherNomad/Ariadne
Asraelite•46m ago
Is this or could this be adapted to be post-quantum?
fguerraz•43m ago
I don’t think this is a public key algorithm, so it’s most likely quantum safe.
Asraelite•27m ago
Oh, I got excited that there might be a novel approach to asymmetric cryptography.
ciphernomad-org•36m ago
Yes. The core architecture is crypto-agile. Its foundation is quantum-resistant because it's built on symmetric primitives like hashing and stream ciphers.

We used X25519 and Ed25519 in the transport layer examples for clarity, as they are well-understood, not as a production baseline.

A post-quantum implementation would swap these out. The key exchange would use a hybrid model, combining X25519 with a PQC KEM like CRYSTALS-Kyber. The signature would be replaced with a PQC scheme like CRYSTALS-Dilithium.

This modularity is a fundamental part of the design.

kennethallen•36m ago
I have a few questions after reading the README.

First, if it uses PRNG with a fixed-size state, it isn't accurate to say it never repeats, correct? It will be periodic eventually, even if that takes 2^256 operations or more.

Second, can you go more into the potential practical or theoretical advantages? Your scheme is certainly more complicated, but I don't see how it offers better tamper protection or secrecy than a block cipher operating in an authenticated mode (AES+GCM, for instance). Those have a number of practical advantages, like parallel encryption/decryption and ubiquitous hardware support.

ciphernomad-org•31m ago
You are correct. The probability of a state collision is cryptographically negligible, on the order of breaking a 256-bit hash function.

You're also right that AES-GCM is faster and has hardware support. Ariadne explores a different trade-off. Its primary advantage is its architectural agility.

Instead of a fixed algorithm, the sequence of operations in Ariadne is dynamic and secret, derived from the key and data history. An attacker doesn't just need to break a key; they have to contend with an unknown, ephemeral algorithm.

This same flexible structure allows the core CVM to be reconfigured into other primitives. We've built concepts for programmable proofs-of-work, verifiable delay functions, and even ring signatures.

jeroenhd•25m ago
FYI your comments seem to be showing up as dead (dead comments don't show up by default, only when people logged into HN have them enabled), I think something may have triggered a shadowban on your account. Might want to send a message to the moderators.

I hit 'vouch' for the comment I'm responding to so it should be visible, but the other response you gave (https://news.ycombinator.com/item?id=44353277) is still listed as dead.

vintermann•21m ago
Any algorithm can be recast as being "self-modifying", "aperiodic" etc. We don't gain any security by doing so. It's just a choice of how to model what the algorithm does which makes it harder to analyse. Sure, it makes it harder for an adversary to analyse too, but only if they stick to the author's way of modeling what the algorithm does - as opposed to finding a more concise description of what it does.

Show HN: A CLI tool to transcribe and clean YouTube videos with Whisper and LLMs

https://github.com/itsmevictor/youtube-to-text
1•itsmevictor•23s ago•0 comments

The role of the University is to resist AI

https://danmcquillan.org/cpct_seminar.html
1•conferza•4m ago•0 comments

Canada Says Network Devices Compromised in China-Linked Hack

https://www.bloomberg.com/news/articles/2025-06-21/canada-says-network-devices-compromised-in-china-linked-hack
1•01-_-•6m ago•0 comments

The Unitron Mac 512 – First Macintosh Clone

https://www.cultofmac.com/news/meet-unitron-mac-512-worlds-first-macintosh-clone
2•rbanffy•6m ago•0 comments

Macroeconomic Analysis of the US Economy

https://github.com/Engineer194/ai-diy-book
1•engineer194•6m ago•0 comments

OpenAI and Jony Ive's "io" brand has disappeared

https://www.theverge.com/news/690858/jony-ive-openai-sam-altman-ai-hardware
2•01-_-•7m ago•0 comments

Take a Break

https://blog.haykerman.com/blog/take-a-break/
2•haykerman•7m ago•0 comments

Show HN: passkey-go A Go library for streamlined Passkey (WebAuthn) verification

https://github.com/aethiopicuschan/passkey-go
1•aethiopicuschan•8m ago•0 comments

Couchbase to Be Acquired for $1.5B

https://investors.couchbase.com/news-releases/news-release-details/couchbase-be-acquired-haveli-investments-15-billion/
1•wilsonfiifi•10m ago•0 comments

JSON evolution in Go: from v1 to v2

https://antonz.org/go-json-v2/
2•lycopodiopsida•12m ago•0 comments

Thoughts on Asunción, Paraguay

https://cpsi.media/p/thoughts-on-asuncion-paraguay
3•Michelangelo11•12m ago•0 comments

Detect Narrative Threats with AI Personas

https://askrally.com/workflow/narrative-threat-opportunity-detection
1•virtual_rf•17m ago•0 comments

A Python script to export hourly consumption and price data from Tibber to a CSV

https://codeberg.org/marians/tibber-export
1•doener•23m ago•0 comments

First celestial image unveiled from revolutionary telescope

https://www.bbc.com/news/articles/cj3rmjjgx6xo
3•austinallegro•26m ago•0 comments

Gold prices surge, mine operators launch drones to detect wildcat miners

https://www.timeslive.co.za/news/africa/2025-06-23-as-gold-prices-surge-west-africa-mine-operators-launch-drones-to-detect-wildcat-miners/
1•Bluestein•29m ago•0 comments

AI Slop: Last Week Tonight with John Oliver (HBO) [video]

https://www.youtube.com/watch?v=TWpg1RmzAbc
2•jackdoe•29m ago•0 comments

Geo-Strategy Update #2: Wwiii Begins, Let's Game Theory [video]

https://www.youtube.com/watch?v=N4cs-8mrP_s
1•handfuloflight•31m ago•0 comments

Egaht – Framework Replacing React

https://github.com/emmron/egaht
1•emmron9•31m ago•0 comments

Tracking PR volume from AI coding agents

https://prarena.ai
1•abdullin•31m ago•0 comments

Linux Router Project

https://en.wikipedia.org/wiki/Linux_Router_Project
1•Bluestein•31m ago•0 comments

Show HN: Anonymous Instagram story viewer with no ads or tracking

1•nightcrawler_06•33m ago•1 comments

Unique Hardware Identifiers: HWIDs and IDs

https://github.com/orgs/twbs/discussions/41565
2•alorankles•36m ago•0 comments

Vera C. Rubin Observatory Releases Long-Awaited First Photos

https://skyandtelescope.org/astronomy-news/vera-c-rubin-observatory-releases-long-awaited-first-photos/
2•perihelions•43m ago•0 comments

System Cursor – Context-Aware AI Text Completion That Follows You Everywhere

https://github.com/Pi4Wear/systemcursor
1•teen-different•43m ago•1 comments

LLM Hallucinations in Practical Code Generation

https://dl.acm.org/doi/10.1145/3728894
2•appwiz•43m ago•0 comments

Deskflow – Share a single keyboard and mouse between multiple computers

https://github.com/deskflow/deskflow
2•thushanfernando•46m ago•0 comments

OpenAI removes mentions of Jony Ive Deal

https://www.bloomberg.com/news/articles/2025-06-22/jony-ive-deal-removed-from-openai-site-over-trademark-suit
1•nerder92•47m ago•0 comments

30-seconds-of-code – short, reusable JavaScript code snippets

https://github.com/Chalarangelo/30-seconds-of-code
1•narilear•47m ago•1 comments

Smart Audit

1•mahmadSA•48m ago•0 comments

Race to Tokyo: JAL and Finnair's Separate Paths from Helsinki

https://www.flightradar24.com/blog/flight-tracking-news/jal-finnair-helsinki-tokyo-race/
1•duck•49m ago•0 comments