This file is indexed.

/usr/lib/nodejs/pbkdf2/index.js is in node-pbkdf2 3.0.14-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
var crypto = require('crypto')
/* istanbul ignore next */
if (crypto && (!crypto.pbkdf2Sync || crypto.pbkdf2Sync.toString().indexOf('keylen, digest') === -1)) {
  exports.pbkdf2 = require('./lib/async')
  exports.pbkdf2Sync = require('./lib/sync')
} else {
  exports.pbkdf2Sync = function(p, s, i, k, d) {
    return crypto.pbkdf2Sync(p, s, i, k, d || 'sha1')
  }
  exports.pbkdf2 = function(p, s, i, k, d, c) {
    if (typeof d === 'function') {
      c = d
      d = undefined
    }
    return crypto.pbkdf2(p, s, i, k, d || 'sha1', c)
  }
}