We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://www.baeldung.com/kotlin-random-number
This writeup doesn't discuss Secure Random or the impacts of not using a Secure Random number generator when non-predictable randomness is needed.
Related: Kotlin/KEEP#184
The text was updated successfully, but these errors were encountered:
@JLLeitschuh We have logged an internal ticket to update the article. I'll keep this ticket updated with our progress.
Sorry, something went wrong.
Thanks! Given the risks of using an insecure RNG in a security critical location, I recommend highlighting it first.
Before 1.3, on the JVM we use Random or even ThreadLocalRandom if we're on JDK > 1.6.
fun IntRange.random() = Random().nextInt((endInclusive + 1) - start) + start Used like this:
// will return an Int between 0 and 10 (incl.) (0..10).random()
Int
Bluestacks Lucky Patcher Kodi
@JLLeitschuh We added a new 'Pseudo vs Secure Random Number Generators' section to the article. Thanks for bringing this to our attention.
No branches or pull requests
https://www.baeldung.com/kotlin-random-number
This writeup doesn't discuss Secure Random or the impacts of not using a Secure Random number generator when non-predictable randomness is needed.
Related:
Kotlin/KEEP#184
The text was updated successfully, but these errors were encountered: