What is DeRec
DeRec (Decentralized Recovery) is an open standard for protecting and recovering sensitive secrets using a threshold-based, multi-party model.
It defines how an entity can:
Protect a secret using cryptography
Distribute recovery material across independent parties
Reconstruct the secret only when a defined threshold is met
Interoperate across independent implementations
DeRec is not a product or hosted service.
It is a protocol specification and reference implementation ecosystem.
What the Standard Defines
The DeRec standard specifies:
A protocol for coordinating protection and recovery flows between an Owner identity (one or more devices) and multiple Helpers
A cryptographic model where the Secret is encrypted under a fresh AES-256-GCM key and only that key is split into shares with a threshold (Shamir) secret-sharing scheme
A structured message format for interoperability — protobuf for the wire messages, and a self-describing, versioned gzip-JSON encoding for the recoverable secret
A role model (Owner, Helper, and Replica) that defines responsibilities and trust boundaries
The protocol governs how shares are created, transmitted, stored, verified, and recovered.
The Problem
Applications that manage high-value secrets — such as:
Wallet seed phrases
Private signing keys
Enterprise signing infrastructure
Credentials
Encrypted backup data
All of them face a fundamental trade-off:
Self-custody (single device backup)
Loss results in permanent loss
Cloud backup
Custodian compromise results in catastrophic breach
Informal social recovery
Weak guarantees and no interoperability
Systems must choose between availability and security, often sacrificing one for the other.
The DeRec Approach
DeRec addresses this trade-off using a threshold-based cryptographic design.
At a high level:
The Owner encrypts the Secret with AES-256-GCM under a fresh key, then splits that key into shares using a threshold secret-sharing scheme.
Each Helper receives one share of the key together with the ciphertext and a Merkle commitment over all shares.
Recovery succeeds only when a defined threshold of valid shares is retrieved and combined.
The Owner rebuilds the key from the recovered shares and decrypts the Secret locally.
Important properties:
Helpers never receive the Secret in the clear — each holds one key share and the ciphertext.
No single Helper can reconstruct the key, and so the Secret, on its own.
Each share carries a Merkle authentication path, so a corrupted or forged share is detected individually.
Recovery requires coordinated threshold participation.
Security derives from mathematics, not trust in a single custodian.
An Owner identity can also extend across multiple devices via the optional replica feature — additional devices under the same Owner identity that each hold a synchronized copy of the Secret. The cryptographic guarantees above are unchanged; replicas are an availability mechanism, not a relaxation of the threshold model. See Replicas in the Concepts section for the full discussion.
Post-quantum by design
The cryptographic choices that ground DeRec are deliberately post-quantum:
The pairing handshake between any two participants uses ML-KEM-1024 (the NIST-standardised module-lattice KEM, FIPS 203) alongside an ECIES leg. ML-KEM is the long-lived key-establishment primitive; the ECIES leg is composed defensively but is not the post-quantum anchor.
Threshold secret sharing protects the key the Secret is encrypted under. Shamir sharing is information-theoretically secure: fewer than
tshares yield no information about that key, regardless of an attacker's compute budget — classical, quantum, or otherwise.Secret and channel encryption use AES-256-GCM: the Secret under its per-version key, and every channel message under the channel's shared key with a fresh random 96-bit nonce. Symmetric primitives at this strength remain practically secure under known quantum attacks (Grover's algorithm only halves the effective key length).
Share commitments are SHA-256 Merkle trees, and share-possession proofs are
SHA-384(share ‖ nonce). Pre-image resistance at these digest sizes remains practically intact under known quantum attacks.
The intent is that a DeRec Secret recorded today, captured wholesale and stored by an adversary, remains unrecoverable even if cryptographically relevant quantum computers become available later. The protocol is one of the few recovery designs that does not rely on a "store now, decrypt later" assumption being unfavourable to the attacker.
Design Objectives
The DeRec standard is designed to make secret recovery:
Decentralized — no single point of failure.
Threshold-secured — recovery requires multi-party participation.
Interoperable — multiple independent implementations can communicate.
Auditable — cryptographic mechanisms and protocol rules are explicit and publicly reviewable.
Extensible — protocol evolution does not depend on a single vendor.
What DeRec Is Not
To avoid confusion, DeRec is not:
A wallet
A storage provider
A blockchain
A custody service
A proprietary SDK
It does not mandate:
A specific hosting model
A specific authentication scheme
A specific user experience
DeRec defines how recovery works at the protocol level, not how applications must be built.
Last updated