docs: function hash(password, salt, iterations = 1024, keylen = 32, digest = 'sha256', encoding = 'hex') {
    return pbkdf2(password, salt, iterations, keylen, digest).then((buf) => {
      return buf.toString(encoding);
    });
  }