How does `crypto.getRandomValues` work in JavaScript, and how is it different from `Math.random`?

I’ve been obsessed with figuring out Math.random in JavaScript and how it works. because how could you imagine a computer picking a random number? Where does the number come from?
But now I realized crypto.getRandomValues does not use rand… Continue reading How does `crypto.getRandomValues` work in JavaScript, and how is it different from `Math.random`?

Is my MySQL Server (run by php/apache) affected by the Log4j vulnerability?

From an article for the new Log4j vulnerability, it reads here:

A researcher working for Chinese tech firm Alibaba discovered the bug and privately informed the Apache Software Foundation, an all-volunteer corporation that develops and ma… Continue reading Is my MySQL Server (run by php/apache) affected by the Log4j vulnerability?

What’s the alternative to storing plain-text passwords in a MySQL Database?

What’s the alternative to storing plain-text passwords in a Database?
For example, I’m using Node.js to get a POST request for signing up / logging in a user from a webpage.
When signing up a user, I get the parameters for the email and pa… Continue reading What’s the alternative to storing plain-text passwords in a MySQL Database?