all InfoSec news
Secure Coding 101: How to Use Random Function
DEV Community dev.to
Random numbers are everywhere on the web, and your security depends on them. Let's see if you're using them right.
Random numbers play a critical role in web application security. They are used in session identifiers, passwords, cryptographic keys, and more. However, if not implemented securely, they can lead to vulnerabilities that attackers can exploit to gain unauthorized access to sensitive information.
TLDR
- Most random generators are not really random. They use math that looks random
- Do not use
Math.random() …
application application security coding critical cryptography function javascript keys node numbers passwords play random random numbers role secure coding security session the web vulnerabilities web web application web application security