Qatsi: Stateless Secret Generation via Hierarchical Memory-Hard Key Derivation
Ren\'e Coignard, Anton Rygin

TL;DR
Qatsi introduces a hierarchical, stateless key derivation scheme using Argon2id that securely generates cryptographic secrets without storage, suitable for air-gapped systems, with formal proofs and practical implementation.
Contribution
It proposes a novel hierarchical key derivation method that is stateless, memory-hard, and formally proven to produce uniform, high-entropy secrets, enhancing security and usability.
Findings
Achieves 103-312 bits of entropy in derived secrets.
Demonstrates practical performance with sub-3 second derivation times.
Provides formal proofs of output uniformity and security against GPU attacks.
Abstract
We present Qatsi, a hierarchical key derivation scheme using Argon2id that generates reproducible cryptographic secrets without persistent storage. The system eliminates vault-based attack surfaces by deriving all secrets deterministically from a single high-entropy master secret and contextual layers. Outputs achieve 103-312 bits of entropy through memory-hard derivation (64-128 MiB, 16-32 iterations) and provably uniform rejection sampling over 7776-word mnemonics or 90-character passwords. We formalize the hierarchical construction, prove output uniformity, and quantify GPU attack costs: years for 80-bit master secrets on single-GPU adversaries under Paranoid parameters (128 MiB memory). The implementation in Rust provides automatic memory zeroization, compile-time wordlist integrity verification, and comprehensive test coverage. Reference benchmarks on Apple M1…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCryptographic Implementations and Security · Cryptography and Data Security · Physical Unclonable Functions (PUFs) and Hardware Security
