MCPcopy Create free account
hub / github.com/codemistic/Web-Development / secureMathRandom

Function secureMathRandom

Radom-password-genrator/main.js:45–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43
44// Random more secure value
45function secureMathRandom() {
46 return window.crypto.getRandomValues(new Uint32Array(1))[0] / (Math.pow(2, 32) - 1);
47}
48
49// Generator Functions
50// All the functions that are responsible to return a random value taht we will use to create password.

Callers 1

getRandomNumberFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected