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

More weaking of the argon2id params

parent bb420920
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 = 2 params.Threads = 1
params.Time = 25 params.Time = 15
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