Consensys / discovery

Java implementation of Discovery v5
Apache License 2.0
10 stars 22 forks source link

Create and use a single `SecureRandom` instance #136

Closed Nashatyrev closed 2 years ago

Nashatyrev commented 2 years ago

PR Description

Creating SecureRandom every time is performance expensive ('eats' around 10% of overall discovery) and may potentially have security issues