Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

How Can Computers Generate True Random Numbers?

November 9, 2023
by
Computerphile
YouTube video player
How Can Computers Generate True Random Numbers?

TL;DR

Computers generate random numbers using algorithms, creating pseudo random numbers that can repeat sequences based on a starting seed. However, specific x86 processors can produce true random numbers via built-in instructions like RDSEED, distinguishing between deterministic software and truly random hardware outputs.

Transcript

so any coding project you have done I'm almost certain that at some point you have come across random numbers however if you use the any of the libraries and functionality you find in a program language you most likely have generated the so-called pseudo random numbers Mike pound for this channel made a video about lfsr which is a way to generate s... Read More

Key Insights

  • #️⃣ Pseudo random numbers are generated using algorithms and are not truly random.
  • #️⃣ x86 processors have instructions, such as AAND and RDRAND, that can generate pseudo random numbers.
  • #️⃣ Some x86 processors have a true random number generator called RDSEED, which can generate truly random numbers.
  • #️⃣ Generating the same sequence of random numbers can be useful for debugging purposes.
  • #️⃣ Specialized hardware devices can also generate true random numbers.
  • #️⃣ Pseudo random number generators have statistical guarantees for each number being equally likely.
  • #️⃣ True random number generators do not have statistical guarantees and can produce skewed distributions.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What are pseudo random numbers in computer programming?

Pseudo random numbers are generated using algorithms and are not truly random. They follow a deterministic pattern and can generate the same sequence starting from the same seed.

Q: Can a computer program generate truly random numbers?

No, computer programs can only generate pseudo random numbers. To generate truly random numbers, specialized hardware devices or x86 processors with true random number generators are needed.

Q: Why would someone want to generate the same sequence of random numbers every time?

Generating the same sequence of random numbers can be useful for debugging purposes. It allows for deterministic execution of the program, making it easier to reproduce and trace any bugs or exceptions related to the random number generation.

Q: How can x86 processors generate random numbers?

x86 processors have instructions, such as AAND and RDRAND, that can generate pseudo random numbers. The RDRAND instruction utilizes a true random number generator within the processor to generate truly random numbers.

Summary & Key Takeaways

  • Random numbers in computer programming are generated using algorithms, known as pseudo random number generators.

  • Pseudo random number generators are deterministic and can generate the same sequence of numbers starting from the same seed.

  • x86 processors have instructions that allow them to generate pseudo random numbers, and some processors have a true random number generator that can generate truly random numbers.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from Computerphile 📚

What Is Superfish and How It Enables Attacks? thumbnail
What Is Superfish and How It Enables Attacks?
Computerphile
What Makes Time Zones So Complicated? thumbnail
What Makes Time Zones So Complicated?
Computerphile
Computer Speeds - Computerphile thumbnail
Computer Speeds - Computerphile
Computerphile
Error Detection and Flipping the Bits - Computerphile thumbnail
Error Detection and Flipping the Bits - Computerphile
Computerphile
What Is Transport Layer Security (TLS)? thumbnail
What Is Transport Layer Security (TLS)?
Computerphile
SLAM Robot Mapping - Computerphile thumbnail
SLAM Robot Mapping - Computerphile
Computerphile

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.