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: Removing Pay-as-You-Go Meter on Loan Phones. 1 Replies
1 wk ago -
Forum Thread: Install Metasploit Framework in Termux No Root Needed M-Wiz Tool 2 Replies
2 wks ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 3 Replies
2 wks ago -
Forum Thread: How to Track Who Is Sms Bombing Me . 3 Replies
3 wks ago -
Forum Thread: moab5.Sh Error While Running Metasploit 17 Replies
1 mo ago -
Forum Thread: Execute Reverse PHP Shell with Metasploit 1 Replies
2 mo ago -
Forum Thread: Hack and Track People's Device Constantly Using TRAPE 35 Replies
3 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
4 mo ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
5 mo ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
5 mo ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
7 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
7 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
7 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
8 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
8 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
8 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
8 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
8 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
9 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
9 mo ago
-
How To: Dox Anyone
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
Hack Like a Pro: How to Find Directories in Websites Using DirBuster
-
How To: Make Your Own Bad USB
-
How To: Spy on Traffic from a Smartphone with Wireshark
-
How to Hack Wi-Fi: Cracking WPA2 Passwords Using the New PMKID Hashcat Attack
-
How To: Target Bluetooth Devices with Bettercap
-
How To: Run USB Rubber Ducky Scripts on a Super Inexpensive Digispark Board
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
How To: Use SQL Injection to Run OS Commands & Get a Shell
-
How To: Use Kismet to Watch Wi-Fi User Activity Through Walls
-
How To: Brute-Force FTP Credentials & Get Server Access
-
How To: Gain SSH Access to Servers by Brute-Forcing Credentials
-
How To: Write an XSS Cookie Stealer in JavaScript to Steal Passwords
-
How To: Create Rainbow Tables for Hashing Algorithms Like MD5, SHA1 & NTLM
-
How To: Create & Obfuscate a Virus Inside of a Microsoft Word Document
-
How to Hack Wi-Fi: Get Anyone's Wi-Fi Password Without Cracking Using Wifiphisher
-
How To: Use SpiderFoot for OSINT Gathering
-
How to Hack Wi-Fi: Cracking WPA2-PSK Passwords Using Aircrack-Ng
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