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:
		
							parent
							
								
									08e6a4302e
								
							
						
					
					
						commit
						202f7c7e6a
					
				
					 11 changed files with 49 additions and 34 deletions
				
			
		
							
								
								
									
										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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue