simonepri/phc-bcrypt

Secure defaults configurations

Aberta

#5 aberto em 6 de mar. de 2018

 (0 comentário) (0 reação) (0 responsável)JavaScript (6 forks)github user discovery
help wanted

Métricas do repositório

Stars
 (6 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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)

Guia do colaborador