simonepri/phc-bcrypt

Secure defaults configurations

Ouverte

#5 ouverte le 6 mars 2018

 (0 commentaire) (0 réaction) (0 personne assignée)JavaScript (6 forks)github user discovery
help wanted

Métriques du dépôt

Stars
 (6 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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 = {
  // The cost of processing the data.
  // See here https://www.npmjs.com/package/bcrypt#a-note-on-rounds
  rounds: 10,
};

Last Update: 01/03/2017 (dd/mm/yyyy)

Guide contributeur