etscrivner / rbsecp256k1

Compiled Ruby wrapper around libsecp256k1 for secp256k1 ECDSA.
The Unlicense
19 stars 13 forks source link

Add Optional Random Bytes To Context#new #42

Closed etscrivner closed 5 years ago

etscrivner commented 5 years ago

Closes #40. Adds the option to provide a string of 32 bytes of random data that will be used to randomize the Context. If not provided then the context remains unrandomized.

This simplifies initialization and lets us make fewer choices on behalf of the user of the library.