Skip to content
Snippets Groups Projects
Commit bb420920 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Lighten params for argon2id config

parent 37890353
No related branches found
No related tags found
3 merge requests!510Release,!232Modify restructure branch to make it ready for merge to release,!207WIP: Client Restructure
...@@ -113,8 +113,8 @@ func InitializeBackup(password string, updateBackupCb UpdateBackupFn, ...@@ -113,8 +113,8 @@ func InitializeBackup(password string, updateBackupCb UpdateBackupFn,
params := backup.DefaultParams() params := backup.DefaultParams()
params.Memory = 256 * 1024 // 256 MiB params.Memory = 256 * 1024 // 256 MiB
params.Threads = 4 params.Threads = 2
params.Time = 100 params.Time = 25
key := backup.DeriveKey(password, salt, params) key := backup.DeriveKey(password, salt, params)
// Save key, salt, and parameters to storage // Save key, salt, and parameters to storage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment