0
Given either a seed or the private part of a master node, that is encrypted using AES-256-CBC (or another secured symmetrical cypher) with key K, is it possible to run derivation such as described in BIP32 to obtain derived private keys also encrypted using the same algorithm and the same key K?
Though EC-point operations exhibit homomorphic properties: (a+b)G = A+B, homomorphic encryption of a HD key pair and deriving its encrypted child is not possible from what I can think of:
Such an encryption scheme would need both encrypted and unencrypted key pass through the HD child derivation step with their relationship intact. Given that the HD child derivation involves a one-way HMACSHA512 function, this seems very hard. – James C. – 2019-02-05T15:31:36.980
@JamesC. Shoot. If you can provide some relevant links and a more detailed explanation, feel free to turn your comment into an answer. – Kyll – 2019-02-05T16:18:50.063
look into bip38. this does what you want. i am not a cryptologist so can't explain how it does it but it does do it. – Abdussamad – 2019-02-05T21:52:01.310