docs: function hash(password, salt) {
    var iterations = arguments[2] === undefined ? 1024 : arguments[2];
    var keylen = arguments[3] === undefined ? 32 : arguments[3];
    var digest = arguments[4] === undefined ? 'sha256' : arguments[4];
    var encoding = arguments[5] === undefined ? 'hex' : arguments[5];
  
    return (0, _mzCrypto.pbkdf2)(password, salt, iterations, keylen, digest).then(function (buf) {
      return buf.toString(encoding);
    });
  }