UNPKG

get-random-values-polypony

Version:

Synchronous randombytes function that works in node, the browser & react-native!

1 lines 125 B
const crypto=require("crypto");module.exports=function getRandomValuesRandomFill(input){return crypto.randomFillSync(input)};