mirror of
https://github.com/minio/minio.git
synced 2025-11-28 05:04:14 -05:00
use argon2 with sync.Pool for better memory management (#11019)
This commit is contained in:
@@ -43,6 +43,7 @@ func TestEncryptData(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to encrypt data: %v", err)
|
||||
}
|
||||
|
||||
plaintext, err := DecryptData(test.Password, bytes.NewReader(ciphertext))
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to decrypt data: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user