You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
Review, document, implement approach to generation of cryptographic random numbers.
Commenting on CryptoUtils.java, @tombentley points out in PR #9 :
Is there a reason to not use a static SecureRandom? Calling nextBytes() on a fresh instance means it will have to seed from an entropy source (I'm assuming /dev/random or /dev/urandom is used in some form or other) every time, which might end up blocking if there's not enough entropy.
The text was updated successfully, but these errors were encountered:
Review, document, implement approach to generation of cryptographic random numbers.
Commenting on
CryptoUtils.java
, @tombentley points out in PR #9 :Is there a reason to not use a static SecureRandom? Calling nextBytes() on a fresh instance means it will have to seed from an entropy source (I'm assuming /dev/random or /dev/urandom is used in some form or other) every time, which might end up blocking if there's not enough entropy.
The text was updated successfully, but these errors were encountered: