Implement AES256+GCM encryption/decryption (cascading)

This commit is contained in:
2025-05-03 18:13:40 -04:00
parent b93acdcaef
commit 146901a479
4 changed files with 102 additions and 12 deletions
+1
View File
@@ -11,6 +11,7 @@ const (
argonMemory = 64 * 1024
argonThreads = 4
argonKeyLen = chacha20poly1305.KeySize
saltSize = 16
)
// DeriveKey derives an encryption key from a passphrase using Argon2.