Is it possible to know which number would random generate.
Or How does random work?
Is it possible to make my own random function ?
Forum Thread: How Random Works in Python
- Hot
- Active
-
Forum Thread: How to Track Who Is Sms Bombing Me . 4 Replies
2 mo ago -
Forum Thread: Removing Pay-as-You-Go Meter on Loan Phones. 1 Replies
2 mo ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 3 Replies
2 mo ago -
Forum Thread: moab5.Sh Error While Running Metasploit 17 Replies
3 mo ago -
Forum Thread: Execute Reverse PHP Shell with Metasploit 1 Replies
4 mo ago -
Forum Thread: Install Metasploit Framework in Termux No Root Needed M-Wiz Tool 1 Replies
5 mo ago -
Forum Thread: Hack and Track People's Device Constantly Using TRAPE 35 Replies
6 mo ago -
Forum Thread: When My Kali Linux Finishes Installing (It Is Ready to Boot), and When I Try to Boot It All I Get Is a Black Screen. 8 Replies
6 mo ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
7 mo ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
7 mo ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
9 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
9 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
9 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
10 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
10 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
10 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
10 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
10 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
11 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
11 mo ago
-
How To: Make Your Own Bad USB
-
How To: Crack Password-Protected Microsoft Office Files, Including Word Docs & Excel Spreadsheets
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How to Hack Wi-Fi: Cracking WPA2 Passwords Using the New PMKID Hashcat Attack
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
How To: Top 10 Things to Do After Installing Kali Linux
-
How To: Buy the Best Wireless Network Adapter for Wi-Fi Hacking in 2019
-
How To: The Hacks Behind Cracking, Part 1: How to Bypass Software Registration
-
How To: Build a Beginner Hacking Kit with the Raspberry Pi 3 Model B+
-
How To: Fix Bidirectional Copy/Paste Issues for Kali Linux Running in VirtualBox
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
How To: Wardrive with the Kali Raspberry Pi to Map Wi-Fi Devices
-
How To: Use an ESP8266 Beacon Spammer to Track Smartphone Users
-
How To: Detect When a Device Is Nearby with the ESP8266 Friend Detector
-
How To: Write Your Own Bash Scripts to Automate Tasks on Linux
-
How To: Get Root with Metasploit's Local Exploit Suggester
-
How To: There Are Hidden Wi-Fi Networks All Around You — These Attacks Will Find Them
-
How To: Write an XSS Cookie Stealer in JavaScript to Steal Passwords
1 Response
AFAIK, the random function in languages are psuedo-random, which means they only seem to be random but are not entirely since they have a set mathematical equation to produce the result. Because of this, using the default random generator functions can cause issues in situations where security is required because mathematics is predictable, you will always get the same answer for every given scenario.
In cases where you would want to create true (or near-true) randomness, usually sources (yes, sometimes more than one) with high entropy are gathered and combined for greater effectiveness. Where might you find these sources? Normally, they are generated from physical phenomena such as the speed of the CPU fan or the air turbulence from disk drives*. Mouse movement and keyboard presses may also be sourced but don't usually produce as good an outcome.
*Wikipedia article on Entropy (Computing)
Share Your Thoughts