Project Idea | ( True Random Number Generator) Last Updated : 07 Jul, 2021 Comments Improve Suggest changes Like Article Like Report Introduction Random numbers in computer science is used for cryptography, simulation, sampling, design and games. In the past the need for more and more randomness has increased. Developers seek for more and more randomness. This project is based on generating random numbers using simple programming on a local system. Features The source of randomness available to a personal computer like laptops includes: The surrounding light and sceneThe surrounding sound or noiseThe TCP information for the networkThe RTT of a specific network, dependent on the congestion of the networkSystem timeScheduling delay over core or multicores The projects aims to extract randomness from all these factors to generate random numbers. All these methods end up giving a list of different numbers, all these numbers are reduced to manageable forms using hash functions like CWChash, PJWhash and SHA1 hash. Also, all these methods takes some time, so using these process in an iteration can be a time taking process, hence the project use these for generating a true random seed and using algorithm known as Blum Blum Shub to generate a series of random number. Blum Blum Shub needs two large prime numbers for its execution. Here, the two prime numbers are generated by randomly choosing a random number and running them against series of Fermat Primality Test. (We take a random 50 digit number and run Fermat's test 10 times with different 40 digits numbers) Implementation https://github.com/adeepkit01/RNG Software Tools Though the whole project can be implemented in python, the above github repo uses different languages (Python, Java and C) based on their strengths. The implementation needs python libraries pyaudio, wave, cv2 and numpy This idea is contributed by Ankit Deepak. Comment More infoAdvertise with us Next Article Project Idea | ( True Random Number Generator) K kartik Follow Improve Article Tags : Python Practice Tags : python Similar Reads How to generate a random phone number using Python? In this article, we will learn how to generate a random phone number using Python. In general, Indian phone numbers are of 10 digits and start with 9, 8, 7, or 6. Approach: We will use the random library to generate random numbers.The number should contain 10 digits.The first digit should start with 1 min read Secrets | Python module to Generate secure random numbers The secrets module is used for generating random numbers for managing important data such as passwords, account authentication, security tokens, and related secrets, that are cryptographically strong. This module is responsible for providing access to the most secure source of randomness. This modul 3 min read Create a Random Password Generator using Python In this article, we will see how to create a random password generator using Python. Passwords are a means by which a user proves that they are authorized to use a device. It is important that passwords must be long and complex. It should contain at least more than ten characters with a combination 5 min read Python - Generate random numbers within a given range and store in a list Our task is to generate random numbers within a given range and store them in a list in Python. For example, you might want to generate 5 random numbers between 20 and 40 and store them in a list, which could look like this: [30, 34, 31, 36, 30]. Let's explore different methods to do this efficientl 3 min read Python Random - random() Function The random() function in Python is used to generate a random floating-point number between 0 and 1. It's part of the random module and helps add randomness to your programs, like in games or simulations.To generate a random number, we need to import the "random module" in our program using the comma 1 min read Like