Glossary term
What is CSPRNG? Meaning for developers
CSPRNG stands for Cryptographically secure random number generator.
A random source whose output cannot be predicted. In Node use crypto.randomBytes, never Math.random, for tokens, keys and IDs.
Learn it properly · Security for DevelopersLesson 5: Secrets, Encryption and Data ProtectionWhere secrets leak (git, logs, front-end bundles), hashing vs encryption vs encoding, TLS in plain words, safe randomness, encrypting data with AES-GCM, and handling personal data.