mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
Added CIRA timeout
This commit is contained in:
6
pass.js
6
pass.js
@@ -1,13 +1,13 @@
|
||||
// check out https://github.com/tj/node-pwd
|
||||
|
||||
// Module dependencies.
|
||||
var crypto = require('crypto');
|
||||
const crypto = require('crypto');
|
||||
|
||||
// Bytesize.
|
||||
var len = 128;
|
||||
const len = 128;
|
||||
|
||||
// Iterations. ~300ms
|
||||
var iterations = 12000;
|
||||
const iterations = 12000;
|
||||
|
||||
/**
|
||||
* Hashes a password with optional `salt`, otherwise
|
||||
|
||||
Reference in New Issue
Block a user