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
Creating a SecureRandom instance may involve a blocking operation. At the same time, SecureRandom is thread-safe, so it's recommended to create a static instance and reuse it multiple times.
Finally, please consider that (int) max can be a negative number (ie: (int) Long.MAX_VALUE).
Creating a
SecureRandom
instance may involve a blocking operation. At the same time,SecureRandom
is thread-safe, so it's recommended to create a static instance and reuse it multiple times.Finally, please consider that
(int) max
can be a negative number (ie:(int) Long.MAX_VALUE
).See:
altcha-lib-java/src/main/java/org/altcha/altcha/Altcha.java
Line 228 in ddb1826
altcha-lib-java/src/main/java/org/altcha/altcha/Altcha.java
Line 249 in ddb1826
altcha-lib-java/src/main/java/org/altcha/altcha/Altcha.java
Line 250 in ddb1826
The text was updated successfully, but these errors were encountered: