QYVORA: a local post-quantum wallet architecture for pre-quantum blockchains
Simon-Pierre Boucher
2026-12-04 — version 1.0 (draft)
Abstract
Bitcoin and Ethereum authorise transactions with elliptic-curve signatures over secp256k1, which Shor's algorithm breaks on a sufficiently large fault-tolerant quantum computer. A wallet cannot change the signature scheme of a network. It can, however, control three things: how the user's secrets are protected on the device and in backups; how much of the user's on-chain value sits under public keys that are already revealed; and how ready the software is to migrate when a network adopts a quantum-resistant way to hold funds. QYVORA is a non-custodial, fully local iOS wallet organised around these three layers. Its cryptographic engine is written from scratch in Swift, without any third-party dependency, from the published specifications: ML-KEM (FIPS 203), ML-DSA (FIPS 204), SLH-DSA (FIPS 205), the Keccak and SHA-2 families, AES-256-GCM, ChaCha20-Poly1305, Argon2id, and the secp256k1, BIP-32/39 and transaction encodings that the chains require. Post-quantum algorithms are used where they have a function — authenticating and encrypting transfers between the user's own devices — and nowhere else. This paper describes the architecture, states what each mechanism protects against and what it does not, defines the exposure metrics the wallet computes, and sets out the path to an independent audit. The engine is not audited and not certified; until an audit is recorded, the application is restricted to test networks.
1. Motivation
1.1 The problem a wallet cannot solve
A Bitcoin or Ethereum transaction is valid when it carries a secp256k1 signature that the network's consensus rules accept. Those rules are the same for every participant. No wallet, whatever cryptography it contains, can make the network accept a different signature scheme, and no wallet can prevent a party that knows a private key from spending. If the discrete logarithm of an exposed public key becomes computable, the funds under that key are spendable by whoever computes it.
A wallet that describes itself as "quantum-safe" for assets on these networks is therefore describing something it does not control. QYVORA starts from the opposite position: say exactly which properties a wallet can provide, build those, and measure the rest.
1.2 The problems a wallet can address
- Secrets at rest and in transit between the user's devices. The recovery phrase is a long-lived secret. A backup recorded today can be attacked decades later. This layer is entirely under the wallet's control and can be made resistant to known quantum attacks now.
- Exposure. Shor's algorithm needs a public key. Whether a public key is revealed depends on the output type, on address reuse and on account activity — choices the wallet makes or influences.
- Readiness. When a network deploys a quantum-resistant output type or account scheme, holders will have to move funds. A wallet built for algorithm agility, with implementations of the standard post-quantum algorithms already present and tested, shortens that step.
1.3 Why a from-scratch engine, and its cost
The engine is implemented from the specifications with no external dependency. The reasons are control over the whole code path that handles keys, the absence of a third-party supply chain, and the ability to state precisely what the code does. The cost is that the code is new and unreviewed: an implementation written from scratch is more likely to contain errors than a mature library. The architecture treats this as a first-order risk rather than as a footnote (sections 4.3, 8 and 10): the secrets at rest are never protected by the unaudited code alone, and the application does not operate on main networks before an independent audit.
2. The three-layer model
| Layer | Object | Who controls the cryptography | QYVORA's role |
|---|---|---|---|
| A | The local vault, backups, device-to-device transfers | QYVORA | Protect with 256-bit symmetric cryptography; use post-quantum public-key algorithms where a public-key step is needed |
| B | Exposure of secp256k1 public keys | The user's usage, guided by the wallet | Avoid unnecessary exposure; measure it; help reduce it |
| C | The signature schemes of the networks | Each network's consensus | None, except to state the fact and to be ready to migrate |
Statements about one layer do not transfer to another. In particular, the presence of ML-KEM, ML-DSA and
SLH-DSA in layer A says nothing about layer C: transactions are signed with secp256k1 because the
networks require it, and they are not quantum-resistant. The detailed analysis of each layer is in
docs/QUANTUM_RESISTANCE.md.
3. Architecture
3.1 Overview
QYVORA is a Swift package of modules with one-directional dependencies, and an iOS application above it. There is no server component. Network access is limited to public blockchain endpoints that the user can replace.
Application (SwiftUI)
│
├── QuantumShield ── exposure metrics Migration ── consolidation plans
├── Recovery ─────── backup, restore, transfer Identity ─── post-quantum identity keys
├── Vault ────────── key hierarchy, slots, sealed records Storage ── atomic files
├── Networking ───── Esplora, Ethereum JSON-RPC, indexer, prices
├── Bitcoin ──────── scripts, addresses, transactions, PSBT Ethereum ── RLP, EIP-1559, ERC-20
├── Core ─────────── BIP-39, BIP-32, Base58, Bech32, networks, 256-bit amounts
└── Crypto (engine) ─ Math · Keccak · Symmetric · MLKEM · MLDSA · SLHDSA · Secp256k1Implementation status at the date of this draft: the engine, the Core, Ethereum and Networking modules are
implemented; the Bitcoin module is in progress; the Vault, Storage, Identity, Recovery, QuantumShield and
Migration modules are specified here and are being implemented. docs/STATUS.md is the authoritative
register.
3.2 Engine modules
| Module | Content | Standards |
|---|---|---|
QyvoraMath |
Byte utilities, constant-time comparison and selection, zeroization, the system random source | — |
QyvoraKeccak |
Keccak-f[1600], SHA3-224/256/384/512, SHAKE128/256, cSHAKE, KMAC, Keccak-256 | FIPS 202, SP 800-185 |
QyvoraSymmetric |
SHA-224/256/384/512, HMAC, HKDF, PBKDF2, MGF1, RIPEMD-160, BLAKE2b, Argon2, AES, AES-GCM, ChaCha20-Poly1305 | FIPS 180-4, FIPS 197, FIPS 198-1, SP 800-38D, RFC 5869, 7693, 8018, 8439, 9106 |
QyvoraMLKEM |
ML-KEM-512, -768, -1024 | FIPS 203 |
QyvoraMLDSA |
ML-DSA-44, -65, -87, pure and pre-hash, hedged and deterministic | FIPS 204 |
QyvoraSLHDSA |
The twelve SLH-DSA parameter sets (SHA2 and SHAKE; 128, 192, 256; s and f), pure and pre-hash | FIPS 205 |
QyvoraSecp256k1 |
256-bit Montgomery arithmetic, complete point addition, ECDSA with RFC 6979 and low-s, public-key recovery, strict DER, BIP-340 Schnorr | SEC 2, RFC 6979, BIP-340 |
QyvoraCrypto |
Umbrella module, algorithm catalogue shown in the application, start-up self-test | — |
Design rules of the engine, enforced by convention and review:
- One entropy source. Randomness comes only from the operating system (
SecRandomCopyBytes). The engine has no generator of its own and stops if the system generator fails. - Deterministic cores. Every randomised algorithm exposes the deterministic "internal" function of its standard, taking explicit seeds, and a thin wrapper that draws the seeds. The deterministic function is what the test vectors exercise.
- Constant-time discipline at the source level for secret data: no secret-dependent branch or memory
index. Examples: complete addition formulas and double-and-add-always on secp256k1; division-free
compression and branch-free implicit rejection in ML-KEM; a table-free, algebraic AES S-box; GHASH with a
fully scanned, masked table. The limits of this discipline in Swift are stated in
docs/THREAT_MODEL.md, section 5.7. - Strict parsing. Malformed keys, ciphertexts, signatures, addresses and encodings return an error or
false; they never trap. - Zeroization of temporary secrets, on a best-effort basis.
The mathematics, parameters and implementation choices are documented in docs/MATHEMATICS.md.
At start-up the engine runs a short self-test (QyvoraEngine.selfTest): known answers for SHA3-256,
SHA-256 and the secp256k1 base point, and a consistency check on fresh keys for ML-KEM (encapsulate then
decapsulate), ML-DSA and SLH-DSA (sign then verify, and rejection of a modified message). A failure means
the binary must not be trusted. A self-test detects gross corruption or miscompilation; it is not a
validation of the implementation.
3.3 Vault
Design of version 1.
Key hierarchy. A random 256-bit master key is drawn from the system generator. Subkeys for each usage are derived with HKDF-SHA256 under distinct labels. The master key is never stored in clear.
Records. Each secret — the recovery phrase, the Quantum Identity private keys, settings — is a record sealed with AES-256-GCM under a fresh random 96-bit nonce. The record header (format version, record identifier, type, creation time) is authenticated as associated data. The file has a version, a whole-file integrity tag, atomic writes and a retained previous version for corruption recovery.
Slots. The master key is wrapped independently in each slot; any one slot opens the vault.
| Slot | Key-encryption key | Property |
|---|---|---|
| Master password | $\mathrm{HKDF}\big(\mathrm{Argon2id}{\text{engine}}(pw, salt),\Vert,\mathrm{PBKDF2\text{-}HMAC\text{-}SHA512}{\text{system}}(pw, salt)\big)$ | Portable; strength is that of the password |
| Device / biometric | A random key in the iOS Keychain, accessible only when a passcode is set, on this device only, bound to the current biometric set; optionally wrapped again by a Secure Enclave P-256 key | Convenient; bound to the device; lost when biometrics change |
| PIN | The PIN combined with a device-bound Keychain secret; attempt counter and escalating delays | A PIN alone never derives a key |
Defence in depth against the engine's own unaudited status.
- The AEAD that actually seals the records is the system implementation of AES-256-GCM (CryptoKit). The engine's AES-256-GCM implements the same algorithm and interoperates with it; the two are cross-checked at start-up, and a disagreement stops the application.
- The password slot is a combiner: a flaw in the engine's Argon2id that made it cheap or predictable cannot bring the cost of a password guess below that of the system PBKDF2.
Lifecycle. A password change re-wraps the master key. A master-key rotation re-encrypts every record. The vault locks automatically; signing and export require re-authentication; the app-switcher snapshot is masked; decrypted secrets are zeroized after use.
3.4 Quantum Identity
Design of version 1.
Each wallet installation has an identity made of post-quantum key pairs: an ML-DSA-87 signing key, optionally an SLH-DSA-SHAKE-256f signing key, and an ML-KEM-1024 encapsulation key. The identity is generated from system randomness, stored as vault records, and represented to the user by a fingerprint of its public keys.
The identity is separate from the transaction keys. It is not derived from the recovery phrase, it does not sign Bitcoin or Ethereum transactions, and its compromise or loss does not affect funds: a lost identity is replaced by a new one. Its only functions are to authenticate, and to receive, data exchanged between the user's own devices.
3.5 Recovery
Design of version 1.
Three recovery paths exist, in decreasing order of independence from QYVORA:
- The BIP-39 recovery phrase (24 words by default), with standard derivation paths ($m/84'/c'/a'$ for Bitcoin, $m/44'/60'/0'/0/i$ for Ethereum). Funds can be recovered with any compatible wallet. This path does not depend on QYVORA's vault format or on its post-quantum algorithms.
- An exported backup file, encrypted under a backup password with the same combiner as the master password slot and AES-256-GCM. It involves no public-key cryptography.
- Device-to-device transfer. The receiving device presents its identity; the sending device encapsulates to it with a hybrid KEM — X25519 from the system and ML-KEM-1024 from the engine, both shared secrets fed to HKDF — encrypts the payload, and signs it with its ML-DSA-87 key (and its SLH-DSA key when enabled). The user compares fingerprints on both screens.
3.6 Cold mode
Design of version 1.
In cold mode a device that never connects to a network holds the keys and signs; an online device holds only public data, prepares unsigned transactions and broadcasts signed ones. The two exchange data by QR code: PSBT (BIP-174) for Bitcoin and the unsigned EIP-1559 payload for Ethereum.
The offline device trusts nothing it receives. It decodes the transaction itself, determines from its own keys which outputs are change, displays recipient, amount, fee and network from the decoded bytes, and requires input data that binds the amounts being spent. It signs only what it displayed.
3.7 Quantum Shield
Specification of version 1; module in progress.
The Quantum Shield computes, from public data and local knowledge, how much of the wallet's value is under public keys that are already revealed (section 5). It produces a per-item list and the aggregate metrics defined below, and explains each item. It makes no claim that unexposed funds are "safe": it measures one specific property.
3.8 Migration engine
Specification of version 1; module in progress.
The migration engine turns the Shield's findings into proposed actions that the user reviews and signs like any other transaction:
- Bitcoin: consolidate outputs held under exposed keys onto a fresh, never-used hashed address of the wallet, with the fee shown; never reuse the source addresses afterwards.
- Ethereum: revoke allowances that are no longer needed; move long-term holdings to an account that has never signed.
Each plan states its cost and its own exposure effect: moving funds publishes the source public keys, if they were not already public, for the duration of the confirmation. The engine's target types are a configurable list. When a network deploys a quantum-resistant output type or account scheme, it is added as a target; nothing in version 1 anticipates the content of proposals that are not deployed.
4. What each post-quantum mechanism is for
4.1 The rule
No algorithm is added to carry a label. An algorithm is used in the product only when it protects a defined asset against a defined adversary and nothing simpler does. The engine implements more parameter sets than the product uses; the application's catalogue marks each one either with its use or as "available".
4.2 Assignments
| Mechanism | Used for | Adversary addressed | Why this mechanism |
|---|---|---|---|
| AES-256-GCM, HKDF-SHA256 | Sealing vault records and backups | Anyone holding the vault or backup file, including a future quantum attacker | Symmetric, 256-bit: Grover's algorithm leaves about 128 bits of security |
| Argon2id combined with PBKDF2-HMAC-SHA512 | Deriving key-encryption keys from passwords | Offline password guessing | Memory-hardness raises the cost per guess; the combiner bounds the damage of an implementation flaw |
| ML-KEM-1024, hybrid with X25519 | Key establishment for device-to-device transfer | An attacker who records the transfer and later owns a quantum computer | A transfer needs key agreement between devices that share no secret; classical key agreement alone would be decryptable later |
| ML-DSA-87 | Signing transfers and backups with the wallet identity | An attacker who substitutes a forged transfer, including one with a quantum computer | Authentication must remain valid for as long as the backup is used |
| SLH-DSA-SHAKE-256f (optional) | A second signature on the same data | A future break of lattice-based signatures | Its security rests on the hash function alone |
| secp256k1 ECDSA, BIP-340 Schnorr | Bitcoin and Ethereum transactions | — | Required by the networks. Not quantum-resistant |
4.3 What is deliberately not done
- The vault records are not encrypted with ML-KEM. A local vault performs no key agreement; encapsulating to a key stored beside the ciphertext would add nothing to AES-256-GCM.
- Transactions are not co-signed with ML-DSA. The networks would ignore the extra signature; it would protect nothing.
- The recovery phrase is not derived from, or mixed with, the Quantum Identity. Recovery must remain possible with the phrase alone, in any standard wallet.
- The category-5 parameter sets are chosen for the identity because the data is small and the operations are rare, so the larger sizes cost little. This is a choice of margin, not a claim that lower categories are insecure.
- The post-quantum private keys are not in the Secure Enclave, which does not implement these algorithms. They are processed on the application processor and protected at rest by the vault.
5. Exposure metrics computed by the Quantum Shield
Specification of version 1. All metrics are computed from public chain data and from what the wallet
itself knows. They depend on the correctness of the endpoints that supply the data
(docs/THREAT_MODEL.md, section 5.3).
5.1 Classification
A Bitcoin output $u$ with value $v_u$ is exposed ($x_u = 1$) when the public key, or every public key, needed to spend it is already public, and hidden ($x_u = 0$) otherwise:
| Condition | Class |
|---|---|
| P2PK or bare multisig output | Exposed |
| P2TR output | Exposed (the output key is in the script) |
| P2PKH or P2WPKH output at an address that has already spent | Exposed |
| P2SH or P2WSH output whose script has already been revealed by a spend | Exposed |
| Output at an address for which the wallet knows the key was otherwise published (signed message, exported extended public key) | Exposed |
| P2PKH, P2WPKH, P2SH or P2WSH output at an address that has never spent and whose key was not otherwise published | Hidden |
An Ethereum account $a$ is exposed when its transaction count is greater than zero, or when the wallet knows it has signed a message; otherwise it is hidden.
5.2 Metrics
- Exposed value ratio (Bitcoin).
$$E_{\mathrm{BTC}} = \frac{\sum_u x_u, v_u}{\sum_u v_u}$$
- Exposed value ratio (Ethereum), per asset $t$ (ether or a token), with $b_{a,t}$ the balance of account $a$:
$$E_{t} = \frac{\sum_a x_a, b_{a,t}}{\sum_a b_{a,t}}$$
Ratios are reported per asset. An aggregate across assets requires prices, which come from an optional external source; when shown, it is labelled as an estimate.
- Address reuse. The number of Bitcoin addresses of the wallet that received funds after having spent, and the value currently held at such addresses.
- In-flight exposure. The value of inputs of the wallet's unconfirmed transactions: keys published and not yet protected by confirmations.
- Approval surface (Ethereum). For each live ERC-20 allowance from account $a$ to spender $s$ on token $t$ with amount $A_{a,s,t}$: the amount at risk $\min(A_{a,s,t},, b_{a,t})$, the count of live allowances, and the count of unlimited ones ($A = 2^{256} - 1$).
- Extended public key disclosure. Whether an extended public key of an account has been exported from the wallet. If so, every address of that account is treated as exposed.
- Layer A indicators. Which vault slots are configured, whether a verified backup of the recovery phrase exists, the age of the last exported backup.
5.3 Interpretation
The metrics are reported as separate components with the list of items behind each. If the interface presents a single summary indicator, its formula is published with it and it is a presentation aid, not a security level. A ratio of zero does not mean that the funds are quantum-safe: every spend exposes a key during confirmation, and a hidden key remains protected only as long as it stays unused. An Ethereum account in regular use will show a ratio of one; this is a property of the account model, not a defect of the user's practice.
6. Crypto-agility and migration paths
In the formats. Every stored or exchanged object carries a format version and algorithm identifiers: vault file, record headers, slot descriptors (with the password-hashing parameters), backup files, transfer messages, identity public keys. A reader rejects what it does not understand instead of guessing. Changing an algorithm is then a new identifier and a re-wrap or re-encryption, not a new file format.
In the engine. Parameter sets are enumerations; all standard sets of ML-KEM, ML-DSA and SLH-DSA are implemented, so that moving between security categories or between signature families does not require new cryptographic code. Hybrid constructions (X25519 with ML-KEM; ML-DSA with optional SLH-DSA) are used where a single assumption would be a single point of failure.
In the vault. Password change re-wraps the master key; master-key rotation re-encrypts all records; password-hashing parameters can be raised and are stored per slot.
On chain. Three migration paths are distinguished:
- Available now: reduce exposure within the existing rules — fresh hashed outputs, no reuse, fewer approvals, separation of holding and transacting accounts.
- Conditional on network upgrades: move to a quantum-resistant output type or account scheme when one
is deployed. Section 4 of
docs/QUANTUM_RESISTANCE.mdsummarises the state of proposals, none of which QYVORA assumes. - Identity: rotate the Quantum Identity to new algorithms or parameters; since the identity holds no funds, rotation is a local operation followed by a new fingerprint comparison between devices.
7. Limitations and non-goals
Limitations.
- The engine is written from scratch, unaudited and uncertified. Passing test vectors does not establish the absence of errors or of side channels.
- Bitcoin and Ethereum transactions signed by QYVORA are not quantum-resistant, and funds under exposed keys are not protected against a quantum attacker.
- Constant-time behaviour is a property of the source code only; Swift and its compiler provide no guarantee, and no countermeasure exists against power, electromagnetic or fault attacks.
- Zeroization is best effort in a language with value semantics and copy-on-write buffers.
- Post-quantum private keys are processed on the application processor, without Secure Enclave isolation.
- The wallet is not a light client. Balances and history are as reliable as the endpoints that serve them; agreement between endpoints is used for some values (chain identifier, nonce) and is not a proof.
- The wallet depends on iOS: the Keychain, the Secure Enclave, the system random generator and the system cryptography are trusted.
- A compromised device is not defended.
- ML-KEM and ML-DSA are recent standards, with less cryptanalytic history than the classical schemes.
Non-goals for version 1.
- Custody, accounts, cloud synchronisation of secrets, or any server-side recovery.
- Chains other than Bitcoin and Ethereum; tokens other than ERC-20.
- Arbitrary smart-contract interaction, contract deployment, or transaction simulation.
- Multi-signature and multi-party computation wallets.
- Network anonymity.
- Protection against coercion.
- FIPS 140 validation. The implementation of FIPS-standardised algorithms is not a validated module.
- Any claim about the date at which quantum computers will threaten deployed cryptography.
The complete list of what is not defended is in docs/THREAT_MODEL.md, section 6.
8. Validation approach
Validation aims at conformance to the specifications and at robustness to malformed input. Measured
results — counts of vectors, failures, timings — are reported in docs/STATUS.md and in the test reports,
not in this paper.
Known-answer tests from the standards bodies. The deterministic internal functions are run against the NIST ACVP vector sets for ML-KEM (key generation, encapsulation, decapsulation), ML-DSA (key generation, signature generation, signature verification), SLH-DSA, SHA-2, SHA-3 and SHAKE, and against NIST vectors for AES-GCM and SP 800-185. The vectors published in RFC 5869, 6979, 7693, 8439 and 9106 and in the BIPs (BIP-32, BIP-39, BIP-173, BIP-340, BIP-350) cover the remaining primitives and encodings. Vector files are committed with their source, revision and licence.
Differential tests. Where an independent implementation exists on the test platform, random inputs are processed by both and compared in both directions: keys generated by one are used by the other; signatures produced by one are verified by the other; ciphertexts are exchanged. Apple's CryptoKit serves as the oracle for the algorithms it provides. Reference implementations appear only in tests, never in the product.
Negative tests. Every decoder and verifier is tested with inputs that must be rejected: wrong lengths, out-of-range coefficients, non-canonical encodings, modified signatures and ciphertexts, invalid curve points, wrong checksums, malformed hints. For ML-KEM, a modified ciphertext must yield the implicit-rejection key, not an error.
Property tests. Round trips (encapsulate/decapsulate, sign/verify, encode/decode), algebraic identities of the arithmetic layers (NTT inversion, multiplication against schoolbook reference), and determinism of the deterministic variants.
Start-up checks. The engine self-test (section 3.2) and the cross-check between the system and engine AES-256-GCM run before any secret is processed.
What this does not establish. Tests are not a proof of correctness, do not measure side channels, and do not review the design. A full pass of the ACVP vectors is not an ACVP validation, which is a formal process run through an accredited laboratory, and it is not a certification of any kind. For these reasons validation by test is a precondition for the audit, not a substitute for it.
9. Roadmap to audit and mainnet
- Engine complete and tested on macOS and iOS, with the test reports published.
- Product modules complete: Bitcoin transactions and PSBT, vault, identity, recovery, cold mode, Quantum Shield, migration engine.
- Test-network release. The application operates on Bitcoin Testnet, Bitcoin Signet and Ethereum
Sepolia only. The gate is
MainnetPolicy.auditCompleted = false(Sources/QyvoraCore/Networks.swift). - Specification freeze of the vault format, the backup format and the transfer protocol, each with its own document.
- Independent audit with the scope listed in
docs/THREAT_MODEL.md, section 7: primitive correctness, input validation, constant-time behaviour of the compiled binary, zeroization, the vault, transaction construction, the transfer protocol, the use of platform security, the networking surface. - Remediation and publication of the findings and of their resolution; identification of the audited commit.
- Mainnet release: a tagged version that sets the flag and documents the audit. No mainnet operation before this step.
- After release: follow the networks' post-quantum proposals; add migration targets when, and only when, they are deployed; re-audit changes to the engine.
No dates are attached to these steps.
10. Conclusion
A wallet cannot make a pre-quantum blockchain post-quantum. It can keep the user's secrets under cryptography that is expected to survive quantum attacks, keep as little value as possible under revealed public keys, tell the user plainly how much that is, and be ready to move when the networks offer somewhere to go. QYVORA is built to do these four things and to claim nothing more. Its engine is new and unaudited, which is why the system cryptography stands beside it wherever secrets rest and why the application stays on test networks until an independent audit is done.
References
Standards
- NIST FIPS 180-4, Secure Hash Standard (SHS), 2015.
- NIST FIPS 197, Advanced Encryption Standard (AES).
- NIST FIPS 202, SHA-3 Standard: Permutation-Based Hash and Extendable-Output Functions, 2015.
- NIST FIPS 203, Module-Lattice-Based Key-Encapsulation Mechanism Standard, 2024.
- NIST FIPS 204, Module-Lattice-Based Digital Signature Standard, 2024.
- NIST FIPS 205, Stateless Hash-Based Digital Signature Standard, 2024.
- NIST SP 800-185, SHA-3 Derived Functions: cSHAKE, KMAC, TupleHash and ParallelHash, 2016.
- NIST SP 800-38D, Recommendation for Block Cipher Modes of Operation: Galois/Counter Mode (GCM) and GMAC, 2007.
- Standards for Efficient Cryptography Group, SEC 2: Recommended Elliptic Curve Domain Parameters.
RFCs
- RFC 5869, H. Krawczyk, P. Eronen, HMAC-based Extract-and-Expand Key Derivation Function (HKDF), 2010.
- RFC 6979, T. Pornin, Deterministic Usage of the Digital Signature Algorithm (DSA) and Elliptic Curve Digital Signature Algorithm (ECDSA), 2013.
- RFC 7693, M-J. Saarinen, J-P. Aumasson, The BLAKE2 Cryptographic Hash and Message Authentication Code (MAC), 2015.
- RFC 8018, PKCS #5: Password-Based Cryptography Specification Version 2.1, 2017.
- RFC 8439, Y. Nir, A. Langley, ChaCha20 and Poly1305 for IETF Protocols, 2018.
- RFC 9106, A. Biryukov, D. Dinu, D. Khovratovich, S. Josefsson, Argon2 Memory-Hard Function for Password Hashing and Proof-of-Work Applications, 2021.
Bitcoin Improvement Proposals
- BIP-32, Hierarchical Deterministic Wallets.
- BIP-39, Mnemonic code for generating deterministic keys.
- BIP-84, Derivation scheme for P2WPKH based accounts.
- BIP-143, Transaction Signature Verification for Version 0 Witness Program.
- BIP-173, Base32 address format for native v0-16 witness outputs.
- BIP-174, Partially Signed Bitcoin Transaction Format.
- BIP-340, Schnorr Signatures for secp256k1.
- BIP-341, Taproot: SegWit version 1 spending rules.
- BIP-350, Bech32m format for v1+ witness addresses.
- BIP-380, Output Script Descriptors General Operation.
Ethereum Improvement Proposals
- EIP-55, Mixed-case checksum address encoding.
- EIP-155, Simple replay attack protection.
- EIP-1559, Fee market change for ETH 1.0 chain.
- EIP-2718, Typed Transaction Envelope.
- EIP-2930, Optional access lists.
Papers
- P. W. Shor, "Algorithms for quantum computation: discrete logarithms and factoring", Proceedings of the 35th Annual Symposium on Foundations of Computer Science (FOCS), 1994.
- L. K. Grover, "A fast quantum mechanical algorithm for database search", Proceedings of the 28th Annual ACM Symposium on Theory of Computing (STOC), 1996.
- M. Roetteler, M. Naehrig, K. M. Svore, K. Lauter, "Quantum resource estimates for computing elliptic curve discrete logarithms", ASIACRYPT 2017.
- E. Fujisaki, T. Okamoto, "Secure integration of asymmetric and symmetric encryption schemes", CRYPTO 1999.
- D. Hofheinz, K. Hövelmanns, E. Kiltz, "A modular analysis of the Fujisaki-Okamoto transformation", TCC 2017.
- J. Bos et al., "CRYSTALS-Kyber: a CCA-secure module-lattice-based KEM", IEEE EuroS&P 2018.
- L. Ducas et al., "CRYSTALS-Dilithium: a lattice-based digital signature scheme", IACR Transactions on Cryptographic Hardware and Embedded Systems, 2018.
- D. J. Bernstein et al., "The SPHINCS+ signature framework", ACM CCS 2019.
- F. Giacon, F. Heuer, B. Poettering, "KEM combiners", PKC 2018.
- J. Renes, C. Costello, L. Batina, "Complete addition formulas for prime order elliptic curves", EUROCRYPT 2016.
- A. Biryukov, D. Dinu, D. Khovratovich, "Argon2: new generation of memory-hard functions for password hashing and other applications", IEEE EuroS&P 2016.
Companion documents
docs/THREAT_MODEL.md— assets, adversaries, threats, residual risks, audit scope.docs/QUANTUM_RESISTANCE.md— the three layers in detail.docs/MATHEMATICS.md— definitions, parameters and equations of every primitive.docs/STATUS.md— what is implemented and tested.