Lowering argon parameters for faster password generation on mobile devices (smarphones)
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							@@ -22,7 +22,6 @@ func ExampleGeneratePassword(){
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	fmt.Println(*password)
 | 
						fmt.Println(*password)
 | 
				
			||||||
	// Output:
 | 
						// Output:
 | 
				
			||||||
	// `wPW`9'Ep$JH,@:7
 | 
						// Esq8)G5q|NqXqt$T
 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,7 +16,7 @@ const (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
const (
 | 
					const (
 | 
				
			||||||
	argonMemory  uint32 = 128 * 1024 // KiB
 | 
						argonMemory  uint32 = 128 * 1024 // KiB
 | 
				
			||||||
	argonIters   uint32 = 24
 | 
						argonIters   uint32 = 8
 | 
				
			||||||
	argonThreads uint8  = 3
 | 
						argonThreads uint8  = 3
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user