Unsecure Random Function
Last updated
Last updated
An unsecure random function in a web application refers to the use of weak or predictable random number generation that can lead to security vulnerabilities. This usually happens when developers use functions that do not provide cryptographically secure randomness, making it easier for attackers to predict or manipulate values.
Math.random() [JavaScript]
rand() [PHP]
random() [Python]
Math.random [Java]