Sjors / libwally-swift

Swift wrapper for LibWally, a collection of useful primitives for cryptocurrency wallets
MIT License
40 stars 18 forks source link

Use wally_secp_randomize before signing #16

Open Sjors opened 4 years ago

Sjors commented 4 years ago

Although Bitcoin signatures are deterministic thanks to RFC6979, adding entropy to libwally using wally_secp_randomize helps it protect against side-channel attacks.

https://wally.readthedocs.io/en/latest/core/#c.wally_secp_randomize