A-Z Popular Blog Algorithms Search »
Coding
 Advertisements
Related Guides
Software Design

IT Artifact

7 Examples of a Random Seed

 , updated on
A random seed is information that is used to create a set of pseudorandom numbers. Generally speaking, computers are bad at producing random numbers as they are designed to compute predictably. A class of algorithms known as pseudorandom number generators produce numbers that are somewhat random using a random seed as an input. If you use the same random seed, these generators produce predictable results. As such, finding a good source of unpredictable information for a random seed is a common software design problem. The following are examples of random seeds.

Time

Time such as the number of milliseconds since 1970.

User Input

User input such as the movement of a mouse or keyboard timings.

Hardware

Hardware statistics that are viewed as somewhat random such as fan noise.

Audio

Noise from a microphone is a good source of random data.

Combinations

Combining different types of information such as time, hardware statistics and user input data.

Operating Systems

Operating systems commonly support random numbers by collecting user input and hardware state information. For example, the linux operating system makes this information available in a special file known as /dev/random.

True Random Number Generator

Hardware that can produce a random number based on detection of low-level physical phenomena such as thermal noise.

Notes

Random seeds are associated with information security as pseudorandom numbers are required for secure encryption.
It is common for encryption keys to be generated using random numbers such that they can be determined if you know the random seed.
Certain types of random seed aren't particularly secure as they are predictable. For example, seeds based solely on time.
Beyond security, random numbers are commonly used by algorithms, statistical analysis and to implement variability into games.
Overview: Random Seed
Type
Definition
Information that is used to initialize a pseudorandom number generator.
Related Concepts
Next: Pseudorandom
More about algorithms:
Backward Induction
Brute Force
Decision Trees
Forward Chaining
Input Is Error
IT Examples
Proof Of Work
Reluctant Algorithms
Reverse Algorithms
Soft Computing
More ...
If you enjoyed this page, please consider bookmarking Simplicable.
 

Algorithms

A few types of algorithms.

Algorithms vs Code

The difference between algorithms and code.

Deep Magic

An overview of deep magic, a technology term.

Edit Distance

An overview of edit distance.

Soft Computing

The definition of soft computing with examples.

Algorithmic Accountability

The definition of algorithmic accountability with examples.

Input Is Error

An overview of input is error.

IT Bias

An overview of IT biases with examples.

Encryption Examples

A definition of encryption with examples.

Asymmetric vs Symmetric

The differences between asymmetric and symmetric encryption.
The most popular articles on Simplicable in the past day.

New Articles

Recent posts or updates on Simplicable.
Site Map