How to make a real random?

Does anyone have a real randomness, with a complex algorithm that would be impossible to guess?
June 8th 19 at 17:29
8 answers
June 8th 19 at 17:31
random_int — Generator cryptographically secure random integers
Combination with any random_int() if you do something more complicated numbers from you and all
June 8th 19 at 17:33
June 8th 19 at 17:35
There are no such algorithms, they will all be pseudo-randomized.
The only randomness present is here, however it is even XS is true or not.
The point is that the randomness is determined by the "noise" of space/atmosphere.
June 8th 19 at 17:37
Any event not by chance. So guided by your logic, knowing the state of each particle of the universe is possible with absolute certainty to predict values of the random number generator. So you it's in another universe necessary, and not on the toaster.
June 8th 19 at 17:39
Well, for example, each symbol generate via:
random + time + stir it
and take the first character of the resulting :)
June 8th 19 at 17:41
Take any 2 streams of constantly changing independent from each other data between them and do any operation. The result of the operation will be random.
For example, the number of transferred traffic and the number of accepted traffic with any surgery will get exactly unpredictable value. To be sure, the timer to use (multiply microseconds or get the modulo, for example).
June 8th 19 at 17:43
Hardware random number generator the best solution:
June 8th 19 at 17:45
view UUID

UUID (universally unique identifier) is a standard for identification used in software development, standardized Open Software Foundation (OSF) as part of the DCE the distributed computing environment (Distributed Computing Environment (eng.)). The main purpose of UUID is to enable distributed systems to uniquely identify information without Central coordination. Thus, anyone can create a UUID and use it to identify something with reasonable confidence that the identifier will never be unintentionally used for something else. Therefore, the information tagged with the UUID, can be placed later into the database without need to resolve name conflict. The most common use of this standard is a Globally Unique Identifier (GUIDs) by Microsoft. Other significant users are Linux (ext2/ext3 filesystem, LUKS encrypted partitions, GNOME, KDE) and Mac OS X — they all used the implementation derived from the uuid library found in the package e2fsprogs included.

The total number of unique key-UUID is 2\128 = 256\16 or about 3.4 × 10\38. This means that generating 1 trillion keys every nanosecond, you can iterate through all possible values will only be 10 billion years.

for example turnips in php

Find more questions by tags PHP