File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ func encryptFileXChachaPoly(dbPath string, password string) error {
306
306
return err
307
307
}
308
308
309
- err , key , salt = generateKey (password , nil )
309
+ err , key , salt = generateKeyArgon2 (password , nil )
310
310
311
311
if err != nil {
312
312
fmt .Printf ("Error - Key derivation failed -\" %s\" \n " , err )
@@ -384,7 +384,7 @@ func decryptFileXChachaPoly(encDbPath string, password string) error {
384
384
// Read the hmac hash checksum
385
385
hmacHash , encText = encText [:HMAC_SHA512_SIZE ], encText [HMAC_SHA512_SIZE :]
386
386
387
- err , key , _ = generateKey (password , & salt )
387
+ err , key , _ = generateKeyArgon2 (password , & salt )
388
388
389
389
if err != nil {
390
390
fmt .Printf ("Error - Key derivation failed -\" %s\" \n " , err )
You can’t perform that action at this time.
0 commit comments