etscrivner/rbsecp256k1

Allow users to provide randomness at context initialization

etscrivner opened this issue · 0 comments

Currently, we always randomize the secp256k1_context object using SecureRandom. Instead, we should allow users to optionally provide randomness or opt out of randomization altogether. This is especially useful for platforms that may not have high-quality randomness sources and where it needs to be user supplied or skipped altogether.