1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Added CIRA timeout

This commit is contained in:
Ylian Saint-Hilaire 2018-05-03 11:09:29 -07:00
parent 08e6a4302e
commit 202f7c7e6a
11 changed files with 49 additions and 34 deletions

View file

@ -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