Randomness

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/12

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:54 PM on 4/14/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

13 Terms

1
New cards

In information theory, the

word entropy is used to judge how much randomness a string contains

2
New cards

When random numbers are needed for security and cryptography purposes,

then randomness must be unpredictable

3
New cards

Uniformly random means

that all possible values are equally likely.

4
New cards

Non-uniformly random means

that all possible values are not equally likely

5
New cards

One example of True random number generators is to make use of external unpredictable physical phenomena like thermal noise to extract randomness

Extracting randomness from noise is a process that can be slow. For some applications that might need lots of random numbers quickly, it can become a bottleneck

6
New cards

Due to True Random Number Generators (TRNGs) slow nature

OSs often optimize their production of random numbers by using pseudorandom number generators (PRNGs)

7
New cards

Pseudo Random

Too many unknown variables to predict

8
New cards

True Random

Infinite unknown variables

9
New cards

A PRNG needs an initial secret, usually called a seed, that we can obtain

from mixing different entropy sources together and can then produce lots of random numbers quickly

10
New cards

A psuedorandom number generator (PRNG) generates a sequence of random numbers based on a seed. Using the same seed makes the PRNG produce the same sequence of random numbers.

It should be impossible to recover the state using knowledge of the random outputs (the function next is one way). It follows that it should also be impossible from observing the produced random numbers alone to predict future random numbers or to recover previously generated random numbers.

11
New cards

Cryptographically secure PRNGs usually tend to exhibit the following properties:

Deterministic - Using the same seed twice produces the same sequence of random numbers. If you know a seed used by a PRNG, the PRNG should be completely predictable. This is why the construction is called pseudorandom, and this what allows a PRNG to be extremely fast

Indistinguishable from random - In practice, you should not be able to distinguish between a PRNG outputting a random number from a set of possible numbers. Consequently, observing the random numbers generated alone shouldn’t allow anyone to recover the internal state of the PRNG.

12
New cards

A PRNG has forward secrecy if

compromise of a state does not allow recovering previously generated random numbers

13
New cards

A PRNG has backward secrecy if

compromise of a state does not allow predicting future random numbers generated by the PRNG. This is true only once new entropy is produced and injected in the update function after the compromise