Randomness
Some content taken from “Silence on the Wire” by Michal Zalewski
Randomness Some content taken from Silence on the Wire by Michal - - PowerPoint PPT Presentation
Randomness Some content taken from Silence on the Wire by Michal Zalewski Todays Agenda Randomness in Private Key Generation Randomness in Election (fraud) Randomness in Coin Flipping What is random? Chosen without method
Some content taken from “Silence on the Wire” by Michal Zalewski
Characteristics Psuedorandom Random Efficiency Excellent Poor Determinism Deterministic Nondeterministic Periodicity Periodic Aperiodic
https://www.random.org/randomness/
generation.
guess your private key
global variable seed; RNG_CreateContext() (seconds, microseconds) = time of day; /* Time elapsed since 1970 */ pid = process ID; ppid = parent process ID; a = mklcpr(microseconds); b = mklcpr(pid + seconds + (ppid << 12)); seed = MD5(a, b); RNG_GenerateRandomBytes() x = MD5(seed); seed = seed + 1; return x;
an outcome of any computer procedure or algorithm in a finite time.
entropy pool
(pseudoprimes)
prime quickly (verify pseudoprimes)
"Scatter your money and your attention;" but the wise man saith, "Put all your eggs in the one basket and—WATCH THAT BASKET."
key gen)
(susceptible to compromise)
0.03% of SSH hosts (shared p or q)