Asia & global innovation
Sign inJoin us
TechStar AsiaIdeas without bordersAsia & global innovation
← Latest news

From Dev.to

Why crypto.getRandomValues() is not Math.random(), and the password code that gets it right

Math.random() is a PRNG. It is fine for particle positions and test data; it is not fine for passwords, session ids, reset tokens, or anything an attacker can guess or replay. V8's implementation is f...

Read the full report at Dev.to ↗