Ghost/ghost/security/lib
Daniel Lockyer 0a68ea88fb Reduced number of hashing rounds during tests
- one of the reasons our tests are so slow is because we're running 10
  rounds of bcrypt hashing on shared hardware, nearly 300 times during
  the database tests
- we don't particularly care about password hash strength during tests
  so this commit reduces the number of rounds to 1 if we're running in a
  test environment
- this drops the time to produce an individual hash from ~140ms to ~3ms,
  saving us a lot of time overall
2022-08-15 12:38:42 +02:00
..
identifier.js Added secret.create util to security package 2022-05-06 15:15:40 +01:00
password.js Reduced number of hashing rounds during tests 2022-08-15 12:38:42 +02:00
secret.js Added secret.create util to security package 2022-05-06 15:15:40 +01:00
string.js refactored security.string to be more readable (#15127) 2022-08-02 12:49:17 +01:00
tokens.js Extended resetToken.compare return result with reason for comparison failure 2020-09-22 15:31:15 +12:00
url.js Moved tokens, url safe and safe string utility to lib/security 2017-12-14 13:38:00 +01:00