mirror of
https://github.com/rwinkhart/rcw.git
synced 2026-10-26 22:09:56 -04:00
Correct constant comment
This commit is contained in:
1 parent
55c54acfcc
commit
18ea71e7e4
1 file changed
+4
-2
@@ -5,13 +5,15 @@ import (
|
||||
"golang.org/x/crypto/chacha20poly1305"
|
||||
)
|
||||
|
||||
// parameters for Argon2
|
||||
const (
|
||||
// parameters for Argon2
|
||||
argonTime = 1
|
||||
argonMemory = 64 * 1024
|
||||
argonThreads = 4
|
||||
argonKeyLen = chacha20poly1305.KeySize
|
||||
saltSize = 16
|
||||
|
||||
// general constants
|
||||
saltSize = 16
|
||||
)
|
||||
|
||||
// DeriveKey derives an encryption key from a passphrase using Argon2.
|
||||
|
||||
Reference in new issue
Block a user