%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/workflow/node_modules/math-random/
Upload File :
Create Path :
Current File : /home/opti/workflow/node_modules/math-random/node.js

var crypto = require('crypto')
var max = Math.pow(2, 32)

module.exports = random
module.exports.cryptographic = true

function random () {
  var buf = crypto
    .randomBytes(4)
    .readUInt32BE(0)

  return buf / max
}

Zerion Mini Shell 1.0