Lowering argon parameters for faster password generation on mobile devices (smarphones)
parent
957d55778e
commit
b42d23b132
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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue