HF RL Explorer

Task: Demonstrate Why Math.random() Is Not Cryptographically Secure

Task: Demonstrate Why Math.random() Is Not Cryptographically Secure: a task in Terminal-Lego-15k (Harbor dataset). JavaScript's Math.random() is commonly used for generating random numbers, but there are serious concerns about whether it is suitable for cryptographic purposes such as generating…

The task

JavaScript's `Math.random()` is commonly used for generating random numbers, but there are serious concerns about whether it is suitable for cryptographic purposes such as generating salts, one-time passwords (OTPs), or tokens. Your task is to create a Node.js program that analyzes and demonstrates the difference…

Part of PrimeIntellect/Terminal-Lego-15k.