Correct constant comment

This commit is contained in:
2025-05-03 18:49:23 -04:00
parent 55c54acfcc
commit 18ea71e7e4
+4 -2
View File
@@ -5,13 +5,15 @@ import (
"golang.org/x/crypto/chacha20poly1305" "golang.org/x/crypto/chacha20poly1305"
) )
// parameters for Argon2
const ( const (
// parameters for Argon2
argonTime = 1 argonTime = 1
argonMemory = 64 * 1024 argonMemory = 64 * 1024
argonThreads = 4 argonThreads = 4
argonKeyLen = chacha20poly1305.KeySize argonKeyLen = chacha20poly1305.KeySize
saltSize = 16
// general constants
saltSize = 16
) )
// DeriveKey derives an encryption key from a passphrase using Argon2. // DeriveKey derives an encryption key from a passphrase using Argon2.