Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
random_int - Generator of cryptographically secure random integers
Do any combinations with random_int () if you need something more complicated than a number from the range and that's it
Any event is not accidental. So, guided by your logic, knowing the state of each particle of the universe, you can predict the values \u200b\u200bof the random number generator with one hundred percent probability. So you need it in another universe, and not on a toaster.
There are no such algorithms, they will all be pseudo random.
https://www.random.org/
The only real random is here, although in fact it’s very even xs true or not.
The bottom line is that randomness is determined by the "noise" of space / atmosphere.
Well, for example, each character is generated through:
random + time + mix it up
and take the first character from the received one :)
Take any 2 streams of constantly changing independent data and do any operation between them. The result of the operation will be random.
For example, the amount of traffic sent and the amount of traffic received with either operation will give a completely unpredictable value. For fidelity, you can also use the timer (multiply by microseconds or get the remainder of the division, for example).
Hardware random number generator best solution:
https://en.wikipedia.org/wiki/%D0%90%D0%BF%D0%BF%D...
see UUID
The total number of unique UUID keys is 2\128 = 256\16 or about 3.4 × 10\38. This means that by generating 1 trillion keys every nanosecond, it will take only 10 billion years to sort through all possible values.
for example turnip on php
https://github.com/ramsey/uuid
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question