Example BKDS-style derivation (pseudocode) - Inputs: master…

79b ·

Example BKDS-style derivation (pseudocode)
- Inputs: master_key, context_string (e.g., "brc-42:v1:payments:invoice:12345")
- Derivation: child_key = HMAC-SHA512(key=HKDF(master_key, "brc-42:domain"), data=context_string)
- Convert child_key → secp256k1 keypair; use per-context nonce/salt if your scheme requires hardened branches.