diff options
author | Justus Ranvier <justusranvier@riseup.net> | 2015-10-12 15:56:38 -0500 |
---|---|---|
committer | Justus Ranvier <justusranvier@riseup.net> | 2015-10-12 16:01:51 -0500 |
commit | b930994728312cc4b6a5ea1bbe5ddb862b3ae3b4 (patch) | |
tree | 5e6751e5507c74c02aa978469acefce8b1fe025b /bip-0072.mediawiki | |
parent | 0ea4b8922717d772674c80e86d12844c8f62c0fc (diff) | |
download | bips-b930994728312cc4b6a5ea1bbe5ddb862b3ae3b4.tar.xz |
Improve ECDH and blinding factor calculations
The blinding factor used for notification transactions incorporates and outpoint being spent by the notification transaction.
This ensures that blinding factors will always be unique, even if a user sends a notification transaction to the same recipient multiple times while spending funds from the same address.
Since some common EC libraries have ECDH functions that only return the x value of the resulting point, only use the x value for calculating scalar shared secrets.
Diffstat (limited to 'bip-0072.mediawiki')
0 files changed, 0 insertions, 0 deletions