
Pseudorandom number generator
24
MENTIONS
10
EPISODES
9
PODCASTS
Search complete. 24 mentions across 10 episodes found for "Pseudorandom number generator".
Oct 22, 2026
PHP2Hell - Joshua Wright - PSW #949
J
95:13Josh MarpetPANELIST
One, it was done back in 97, 98.
J
95:15Josh MarpetPANELIST
I don't know that anybody's actually audited that that's, you know, PRNG.
J
95:20Josh MarpetPANELIST
and, and, and decided that it is absolutely like it's valid random numbers or random number generators and, and number I'm somewhat, I don't know, whatever.
J
95:30Josh MarpetPANELIST
Sorry.
Security Now 1101: ECDSA's Curves Origins
S
124:33Steve GibsonHOST
Claude tried a different angle, anticipating how the software that generated the curves must have worked.
S
124:44Steve GibsonHOST
Claude guessed the software used a pseudo-random number generator," a PRNG that we've talked about ad nauseam on the podcast in years past, "that shipped with 1990s C libraries.
S
125:01Steve GibsonHOST
These old PRNGs are weak enough that their output can be recognized.
S
125:08Steve GibsonHOST
Recognizing that output would reveal which PRNG was used and possibly allow recovery of its initialization state." Because just to digress for a second, you, you start a PRNG with a certain state, and it is a very simple algorithm.
S
125:29Steve GibsonHOST
Typically, it's you, you add a number and you multiply a, a different number and you throw away the overflow, keeping just the lower bits.
S
125:37Steve GibsonHOST
And that follows a very recognizable pattern based on what those two numbers are.
S
125:44Steve GibsonHOST
But it also starts at something, and that's the or- the, the original seed, the, the, its initialization state.
S
125:51Steve GibsonHOST
So then they said, "Claude, having been asked where did these nu- where, where weird-looking numbers come from, having no idea whatsoever, says, 'Well, probably, how about maybe it was a, a PRNG back from then, like the 1990s, and people were using C.
Software Verification in the Age of Coding Agents
C
18:48Carl SverreGUEST
... or you do anything like that, you're always gonna get something that we completely control.
C
18:53Carl SverreGUEST
Now, a lot of software will read dev random and time, and then they'll like mix the bits, and then they'll initialize like a PRNG, for example, to be able to have faster random number generation, which most runtimes will do.
C
19:06Carl SverreGUEST
When you're running in Antithesis, we actually recommend that you don't do this.
C
19:09Carl SverreGUEST
So if you do use a PRNG in your software, you actually replace the PRNG with direct reads to system randomness.
C
19:16Carl SverreGUEST
And there's a reason for that, and that reason is the second ingredient of DST.
C
19:20Carl SverreGUEST
So the first ingredient is determinism, so the ability to be deterministic, so the same series of events occur.
C
19:26Carl SverreGUEST
The second ingredient of DST is simulation.
C
19:28Carl SverreGUEST
And the reason why we want to be able to control randomness at every moment, so you not having a PRNG that's preceded, that has this, a particular series of events that's gonna happen, but instead you're always asking us for randomness, is that in DST, we want to be able to branch the simulation.
Safeguarding Your Bitcoin Secrets
S
4:05speaker_2HOST
Because of this, they are extraordinarily bad at creating true randomness.
S
4:10speaker_2HOST
To simulate chaos, they actually need external help, and this is the difference between a pseudo-random number generator, a PRNG, and a true random number generator, or TRNG.
S
4:21speaker_1HOST
We covered the ColdCard vulnerability in a recent episode, and that bug was directly tied to this exact distinction, wasn't it?
S
4:27speaker_2HOST
It was.
S
4:44speaker_1HOST
But what about the cryptographically secure ones?
S
4:46speaker_2HOST
Right.
S
4:46speaker_2HOST
A cryptographically secure PRNG makes its outputs computationally infeasible to predict without knowing its internal state.
S
4:54speaker_2HOST
But, and this is key, it cannot create additional entropy out of thin air.
ShinyHunters, schminyhunters: Who needs human hackers when you can have Mythos do the hard work?
J
15:03Jessica LyonsGUEST
Okay, okay.
J
15:04Jessica LyonsGUEST
PRNG was leaking its output.
B
15:07Brandon VigliaroloHOST
Wow.
B
15:08Brandon VigliaroloHOST
Okay.
179: New Life Perspectives with Liz Larson and Bill McKenna - Episode 179
B
13:22Bill McKennaHOST
Now, one of the tests that he did was to, uh, hook it up to the plant, but then he, he had, uh, shrimp, and live shrimp, uh, in a bowl and water.
B
13:39Bill McKennaHOST
A- and he r- had a release mechanism that was on a, uh, they call it a pseudo, pseudorandom number generator, a PRNG.
B
13:50Bill McKennaHOST
And, uh, these, this random number generator, when it would w- uh, it would dictate when it, when the release was gonna happen, and so nobody knew the exact moment.
B
14:05Bill McKennaHOST
And he closed the door to his office.
Cyber Mornings Daily - October 5th, 2026
S
2:21speaker_1HOST
Exactly.
S
2:22speaker_1HOST
So specifically, in versions 3.0.0 through 3.2.0, the software generates its session cookie signing keys using a weak, non-cryptographic pseudo-random number generator.
S
2:34speaker_0HOST
Meaning they are using JavaScript's Math.random function.
S
2:39speaker_1HOST
Yes.
S
4:02speaker_1HOST
The remote attacker just collects a small handful of these login responses.
S
4:06speaker_0HOST
Okay.
S
4:06speaker_1HOST
And because the pseudo-random number generator, the PRNG, is so mathematically rigid, those few outputs act as breadcrumbs.
S
4:14speaker_0HOST
Oh, I see.
Bruno Dias on Writing & Weird Fiction
N
26:22Nic TringaliHOST
Um,
B
26:23Bruno DiasGUEST
That is interesting to think about because I wrote an implementation of PRNG last week, which sounds like a very difficult and challenging task, but really what that means is that I read an implementation that already exists and I wrote it over again in a different language.
B
26:43Bruno DiasGUEST
that's programming that is like a significant chunk of programming yeah and it's just like you know oh it's literally just doing stupid shit to numbers so that you get a sequence of numbers that kind of vaguely looks like it's random even though it absolutely is not
B
27:00Brendan McLeodHOST
is that for liar is
Lecture F (2026-10-01): Midterm Review
T
32:01Ted PavlicHOST
What does that tell you about the PRNG? And so, you know, then you have to be able to answer that.
T
32:09Ted PavlicHOST
All right, so any questions about these concepts, this idea that the null is uniform, rejecting the null means rejecting uniformity, that uniformity is specifically what we're looking for, not any other type of randomness, and PRNGs should hopefully be very uniform.
T
32:30Ted PavlicHOST
Okay, and then the last little feedback here, so this is on the homework that you'll be turning in this weekend, but these are just the common issues that we see.
T
32:40Ted PavlicHOST
The biggest thing is when you're taking an inverse of the PDF to get the CDF, don't simply take the antiderivatives of each row.
Lecture E2 (2026-09-29): Random-Variate Generation

T
11:18Ted PavlicHOST
And then we can't ever have true random numbers, so that's why they're pseudo random.
T
11:23Ted PavlicHOST
So we need a pseudo random number generator, a PRNG.
T
11:26Ted PavlicHOST
So how do we get that? And so we said that, well, there are some of these that have been built for us, like inside Excel, RAND.
T
11:38Ted PavlicHOST
They can do that for us.
33 MINS LATER
T
44:22Ted PavlicHOST
We've gone through the so-called correlation links And so now I don't see that so much, but I just want to highlight that, that if you happen to do, you know, if you were to search for a runs test, make sure that you're learning about the right test because the test we deal is the runs above and below the mean, but there are other runs tests.
T
44:42Ted PavlicHOST
One of them is the up and down and they're both very common, but I just think this is the easier one to use.
T
44:48Ted PavlicHOST
Now, if you go to this little PRNG widget that I built for you, I also put in what's called a lattice plot or a Poincaré plot or return map.
T
45:00Ted PavlicHOST
And so it turns out if you plot the numbers against a previous number against the next number, and you look at that scatter plot for really bad random number generators, you can eventually kind of rotate this and start seeing a lattice form.