SILENT KILLERPanel

Current Path: > > lib > node_modules > npm > node_modules > unique-slug >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //lib/node_modules/npm/node_modules/unique-slug/

NameTypeSizeLast ModifiedActions
.npmignore File 42 bytes March 10 2021 14:36:39.
.travis.yml File 139 bytes March 10 2021 14:36:39.
README.md File 459 bytes March 10 2021 14:36:39.
index.js File 692 bytes March 10 2021 14:36:39.
package.json File 1505 bytes March 10 2021 14:36:39.

Reading File: //lib/node_modules/npm/node_modules/unique-slug//index.js

'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')
  }
}

SILENT KILLER Tool