This maybe off topic, however, it is interesting.
Going to the ROOT of mathematics. Which is deductive logic. The ancient Greeks, starting with figures like Thales and Pythagoras around the 6th century BC, turned math into a formal academic discipline. Deductive reasoning and logical proofs replaced mere practical calculation, giving birth to mathematics. With this as the starting point, not what is currently thought to be correct, let us discover this PROOF by deductive logic. This is the GOLD STANDARD of mathematics.
In computer science and computability theory, indeterminate data passed into a completely determinate program will always output indeterminate data. This concept is a fundamental consequence of function mapping and information theory: a deterministic system cannot create certainty out of pure uncertainty.
Here is the formal proof of this concept using set theory and functions.
- Definitions and Premise
-
- Determinate Program (\(f\)): A deterministic program is a well-defined function \(f: X \rightarrow Y\) that maps elements from an input set \(X\) to an output set \(Y\). By definition, for every specific input \(x \in X\), there is exactly one unique output \(y \in Y\) such that \(f(x) = y\).
- Indeterminate Data (\(I\)): Indeterminacy means the exact state of the input data is unknown. Instead of a single value \(x\), the input is represented as a set of multiple possible values \(I \subseteq X\), where \(\vert{}I\vert{} > 1\).
-
The Theorem
If the input to a deterministic function \(f\) is a set of multiple possibilities \(I\) (where \(\vert{}I\vert{} > 1\)), and \(f\) is non-constant over \(I\), then the output set \(O = f(I)\) will also contain multiple possibilities (\(\vert{}O\vert{} > 1\)), making the output indeterminate. -
Proof by Contradiction
To prove that the output must be indeterminate, let us assume the opposite: The output is completely determinate. -
- If the output is determinate, it means the output set \(O\) contains exactly one unique value, \(y_{0}\).
\(O=\{y_{0}\}\) - By definition of a function mapping a set:
\(O=\{f(x)\mid x\in I\}\) - Since we assumed \(O = \{y_0\}\), it must be true that for every possible input \(x\) inside our indeterminate set \(I\):
\(f(x)=y_{0}\quad \forall x\in I\) - This means the program \(f\) must be a constant function over the domain \(I\). A constant function completely discards, ignores, or overwrites the input data (for example, a program that takes any variable but always returns 0).
- However, if the program actually processes or depends on the input data (meaning \(f\) is non-constant, so \(f(x_1) \neq f(x_2)\) for at least two points in \(I\)), then:
\(|{}O|{}\ge 2\) - This contradicts our assumption that the output set has only one unique value (\(\vert{}O\vert{} = 1\)).
- If the output is determinate, it means the output set \(O\) contains exactly one unique value, \(y_{0}\).
Conclusion
Because our assumption leads to a contradiction for all non-constant programs, the assumption is false. Therefore, if the input data is a set of multiple possibilities (indeterminate), a deterministic program that relies on that data must map those different inputs to different outputs.
Thus, indeterminate inputs yield indeterminate outputs.
***** ***** ***** ***** ***** ***** ***** ***** *****
Because it is binary, the mean is 0.5. The STANDARD DEVIATION is 0.4998… This is as good as it can possibly get.
Because random.seed (time.time()) INSIDE the loop, the code reads an outside indeterminate variable (the exact nanosecond the CPU executes that specific line of code) and injects it into Python’s determinate math system.
Every single bit in the sequence depends on a brand-new, unknown unique timestamp. This is why indeterminate output is a fact.
\*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\*
Two things left are understanding IF the output is random and the quality of the output.
A Binary RNG (0 or 1 / Coin Flips)
The goal is a generator that outputs only two discrete values, exactly 0 or 1:
- The mean (0.5) is perfect. It means you are getting an equal number of 0s and 1s (a fair 50/50 coin toss).
- The standard deviation (0.4998) is nearly perfect. For a perfect 50/50 split of 0s and 1s, the theoretical standard deviation is exactly 0.500.
What this means about the generator: The generator is performing exceptionally well as a binary flipper, with just a microscopic statistical deviation from a perfectly fair 50/50 split.
\*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\*
Logic Steps:
Step one: Indeterminate data.
Math has exact answers when done correctly, based on only mathematically proven functions. Random is NOT exact as used today. There is no standard for ‘random’ by NIST. Therefore, the biggest tool in encryption is unknowable random data, which is not available currently.
Randomness is critically important to cryptography because it is used to generate keys, nonces, and other values that make encryption and other cryptographic functions unpredictable and therefore secure. Without high-quality randomness, cryptographic systems become predictable and vulnerable to attacks that could compromise data security.
The background of a simple way of making ‘real’ mathematically provable random numbers. Knowing that any encryption based on a calculation is breakable with quantum computers. How do you make encryption without calculations? Then it is unbreakable by quantum computers. This project led to unknowables or future knowledge as quantum computers cannot know the future or unknowable data produced by the future (such as exactly where an object will be in the three-object orbit problem). There is a lot of unknown future data, till its time comes to become known in the ‘NOW’ for one nanosecond granularity currently. Then the data moves to the past. That is the same movement TIME has! From the future to the now and into the past. The exact nano-second of time’s data is unknowable and unaffected by humans.
Getting mathematically unknown data from TIME is what is have done. Using ‘mean’ and ‘standard deviation’ to make a standard using binary, which has a mean of 0.5. All the binary output must follow the mean. It is the standard deviation amount that sets the standard.
Picture a wheel, to make a kind of clock. On the outside of the wheel divide it into twenty-four equal parts. That takes care of the hours for the clock. Now, divide the 24-hour parts by sixty equal parts. Now, divide the 60-minute parts by sixty equal parts. That takes care of the seconds for the clock. Finally, divide the 60-second parts by 1,000,000,000 equal parts. That takes care of nanoseconds for the clock. Remember this picture as we proceed.
Propose that as the wheel spins, grabbing time, it will have hours, minutes, seconds, and nanoseconds. Guessing the time down to the second might be possible. But knowing the nanosecond is not possible by humans currently. That is one billion to one chance to guess. That is RANDOM unknowable data.
‘Time’ has the properties needed for a true ‘random process’. However, the ‘random process’ must then be used correctly to get real random numbers that are mathematically provable and able to be made into a standard for “Random Number Generators”.
Step two: Input into determinate program.
Time as the seed for pseudorandom random generator solves the problem of different computers sizes, as well as sub programs running in the background, as well as temperature variations while running the program. Can be run on little Raspberry Pi or a main frame computer.
Step three: Output
Real random number stream that cannot be known by quantum computers or AI and quantum computers having a Standard Deviation of 0.4998.
***** ***** ***** ***** ***** ***** ***** ***** *****
Program: Python 3
import time
import random
count = int(0)
number_of_needed_numbers = int(10000)
while count < number_of_needed_numbers:
random.seed(time.time())
random_number = random.randint(0, 1)
count = count + 1
print(random_number)
\*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\* \*\*\*\*\*
Time is a random process (looks random), not real random. It is the random looking data that feeds the random number generator to make real random number data.
Feeding totally unknown, truly random binary data into a program, the encryption cannot be broken by any mathematical or cryptanalytic attack.
How this scenario plays out in cryptography:
- Why it is Unbreakable (Information-Theoretic Security)
When you combine totally unknown, truly random binary data with a message (using a deterministic program, usually the XOR operation), the output becomes perfectly indeterminate.
- The Math: Because the input data has maximum entropy (it is completely random), the output also has maximum entropy.
- The Result: Even if an attacker has infinite computing power and tries every possible combination, it is physically and mathematically impossible to break the encryption. If they try to brute-force it, the ciphertext will decrypt into every single possible message of that length. They will have no way of knowing if the decrypted text is “Attack at dawn” or “Let’s go to lunch.” [1]
2. The 0.4998 Standard Deviation Connection
The observation of a 0.4998 standard deviation perfectly aligns with this.
If you take true random binary data (0s and 1s) where each bit has an exact 50% chance of being a 1 or a 0, the theoretical standard deviation
(σsigma) is calculated using the binomial distribution formula:
σ=p(1−p)=0.5×0.5=0.5sigma equals the square root of p(1 minus p) end-root equals the square root of 0.5 cross 0.5 end-root equals 0.5
The result of 0.4998 is a real-world statistical reflection of true randomness over a finite sample size. It proves the output is unbiased and contains no recognizable patterns for an attacker to exploit.
- The Only Ways This System “Breaks”
If the data is truly random and unknown, the encryption itself cannot be cracked. However, in the real world, systems using this data fail due to operational mistakes, not mathematical ones:
-
Reusing Random Data: If you use the same piece of “unknown random data” to encrypt more than one message, the encryption instantly breaks. An attacker can XOR the two ciphertexts together, completely canceling out the random data and leaving behind the plain text of both messages.
-
Data is Not Actually Random: True randomness is incredibly hard for computers to generate. If the data came from a software algorithm (like a standard programming language’s random() function) instead of a physical, quantum, or hardware random number generator, it isn’t truly random. It is pseudo-random, meaning an attacker can eventually figure out the pattern.
-
Key Interception: The encryption can’t be broken by looking at the output, but it is broken if the attacker steals the “unknown random data” directly from the hard drive or memory of the machine sending or receiving it.
Summary
If the binary data is genuinely, truly random, and it is kept completely secret, the encryption is 100% unbreakable.