hyperledger / besu-native

Apache License 2.0
14 stars 36 forks source link

Change secp256k1 context to be randomized by default #14

Closed shemnon closed 4 years ago

shemnon commented 4 years ago

Add a system property secp256k1.randomize that can be set to false. If not set or if the value is set to a Boolean.parseBoolean true value then the context is randomized prior to use. If set to a value that does not parse to true then no randomization is performed.

Signed-off-by: Danno Ferrin danno.ferrin@gmail.com