HomeCybersecurityHD Wallet Key Derivation: Hardened vs. Non-Hardened Security

HD Wallet Key Derivation: Hardened vs. Non-Hardened Security

Interactive BIP-32 hierarchical-deterministic wallet simulator, computed with real HMAC-SHA512 and secp256k1-order modular arithmetic: watch a leaked child private key cascade into a full parent-key compromise on a normal derivation path, and stay contained on a hardened one.

Cybersecurity3DAdvanced60 FPS
exp-blockchain-security ↗ Open standalone

Hierarchical-deterministic (HD) wallets derive an unlimited tree of key pairs from one master seed using BIP-32: each child key is the parent key plus an HMAC-SHA512 output, reduced modulo the curve order. This simulator computes that derivation for real, in the browser, with actual crypto.subtle HMAC-SHA512 calls and secp256k1-order modular arithmetic, and renders the resulting key tree in 3D. Build out branches with normal or hardened derivation, then "leak" a selected child's private key to watch the real consequence play out: on a normal path the leak lets an attacker reconstruct the parent key — and everything below it — from public data alone, while a hardened path keeps the damage contained to the single leaked leaf. A separate panel estimates brute-force time against a BIP-39 recovery phrase's keyspace at a chosen guess rate, showing why entropy, not obscurity, is what actually protects a seed phrase.

⚙ Under the hood

Build a real BIP-32 hierarchical-deterministic key tree with live HMAC-SHA512 derivation, then leak a child private key to see it cascade into a full parent-key compromise on a normal path while a hardened path stays contained.

blockchaincryptographywallet-securityhd-walletkey-derivationbip32

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)