simonepri/phc-argon2

Secure default configurations

Offen

#5 geöffnet am 06.03.2018

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (7 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (16 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

This issue will be updated with the current defaults used by this package while hashing your passwords.

Please comment on this issue to get them updated.

Defaults

/**
 * Default configurations used to generate a new hash.
 * @private
 * @type {Object}
 */
const defaultConfigs = {
  // Argon2 variant to use. Can be one of argon2(d), argon2(i) or argon2(id).
  variant: 'id',

  // time cost, in linear iterations.
  iterations: 3,
  // memory cost, in kibibytes.
  memory: 4096,
  // parallelism, in number of threads and lanes.
  parallelism: 1,
  // The minimum recommended size for the salt is 128 bits.
  saltSize: 16,
};

Last Update: 01/04/2018 (dd/mm/yyyy)

Contributor Guide