404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.15.229.14: ~ $
'use strict'
var crypto = require('crypto')
var MurmurHash3 = require('imurmurhash')

module.exports = function (uniq) {
  if (uniq) {
    var hash = new MurmurHash3(uniq)
    return ('00000000' + hash.result().toString(16)).substr(-8)
  } else {
    // Called without a callback, because this interface should neither block
    // nor error (by contrast with randomBytes which will throw an exception
    // without enough entropy).
    //
    // However, due to a change in Node 0.10.27+, pseudoRandomBytes is now the
    // same as randomBytes, and may in fact block in situations where
    // insufficent entropy is available.
    return crypto.pseudoRandomBytes(4).toString('hex')
  }
}

Filemanager

Name Type Size Permission Actions
.npmignore File 42 B 0644
.travis.yml File 139 B 0644
README.md File 459 B 0644
index.js File 692 B 0644
package.json File 1.47 KB 0644