simonepri/phc-scrypt

Secure defaults configurations

Offen

#5 geöffnet am 06.03.2018

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

Repository-Metriken

Stars
 (6 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 defaults = Object.freeze({
  // CPU/memory cost (N), in number of sequential hash results stored in RAM by the ROMix function.
  cost: 15, // 2^15
  // blocksize (r), in bits used by the BlockMix function.
  blocksize: 8,
  // parallelism (p), in number of instances of the mixing function run independently.
  parallelism: 1,
  // The minimum recommended size for the salt is 128 bits.
  saltSize: 16,
});

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

Contributor Guide