Derive symmetric keys

1

Is there some means by which I could derive symmetric keys using bitcoin public keys or HD Wallet public key which I have shared with a second user.

jgm

Posted 2016-06-21T17:08:46.130

Reputation: 748

Answers

2

You can use Elliptic Curve Diffie-Hellman, assuming you have the public keys, and not just addresses. Bitcoin addresses are derived from public keys, not public keys themselves, so you'd be required to share the raw public keys.

Here's another resource, which links to a python example creating a shared symmetric key with the secp256k1 curve used by Bitcoin.

Jestin

Posted 2016-06-21T17:08:46.130

Reputation: 8 339