Say for example, you have 1 HD Key and are generating multiple children keys. Say a max of 2147483647 child keys.

Would it be possible to figure out the parent HD pub/priv keys if somebody were to get a large percentage of the child keys?

1 Answer 1


No. The computation from children from a parent is like a hash (and involves hashes). It doesn't matter how many children someone sees, they cannot compute the parent key. They cannot even tell which child keys come from the same parent.

The only thing that's possible, and perhaps surprising, is that given a parent xpub, and a privkey derived from it, you can compute the parent xprv.

  • Thanks! this is what I was wondering. Okay will keep the child private keys secure too Sep 11, 2021 at 6:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.