DEPID is a 128-bit identifier specification designed for decentralized applications. It enables mathematically guaranteed instance-to-instance uniqueness and embedded source attribution without the need for a central registry.
-
Decentralized Attribution: Identify the origin (issuer) of an ID in O(1) time.
-
Algebraic Uniqueness: Uses prime-field divisibility to ensure global uniqueness with minimal shared knowledge.
-
Collision Resistant: Combines high-entropy "Naked IDs" (
$Q$ ) with algebraic alignment to prevent overlaps. -
Opaque & Secure: Employs Keyed-Folding to protect against GCD and prime-recovery attacks.
-
Time-Sortable (v3): Includes an embedded Unix timestamp for native lexicographical ordering.
The core of DEPID is mapping a high-entropy "Naked ID" (
A 100-bit (v2) or 64-bit (v3) entropy source is shifted and aligned to the nearest multiple of the issuer's assigned prime :
This ensures , making the ID mathematically verifiable.
To prevent unauthorized parties from identifying the prime, the value is obfuscated using a deterministic XOR mask:
Receivers extract an 8-bit Scattered Hint (
| Segment | Bits | Description |
|---|---|---|
| Hint (H) | 0–7 | 8-bit Keyed Hint for routing. |
| Version (V) | 8–11 | 4-bit Version identifier. |
| Payload (K) | 12–127 | Algebraic/Entropy field (116 bits). |
- v1 (Algebraic): Unkeyed fixed sets.
- v2 (Hardened): Two-keyed masking for max entropy ().
- v3 (Temporal): Includes 32-bit Unix timestamp for chronological sorting.
DEPID uses a 2-1-29 (v2) or 2-1-8-21 (v3) hex-and-dash format:
- v1:
HH-1-KKKKKKKKKKKKKKKKKKKKKKKKKKKKK - v2:
HH-2-KKKKKKKKKKKKKKKKKKKKKKKKKKKKK - v3:
HH-3-TTTTTTTT-KKKKKKKKKKKKKKKKKKKKK
To guarantee 100% uniqueness, the generation process utilizes three layers of protection:
- Progressing Entropy: Use of a CSPRNG and/or progressing counters/timestamps.
- Cross-Prime Check: A "Bucket Collision" rule ensures the generated ID isn't accidentally divisible by other primes in the same hint bucket.
- Local DB Check: A final fail-safe check against the local issuance database.
Copyright (c) 2026 Rhendra Networking. Distributed under the MIT License.