- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestDecryptKey (0.08 sec)
-
internal/kms/secret-key_test.go
t.Fatalf("Failed to decrypt key: %v", err) } if !bytes.Equal(key.Plaintext, plaintext) { t.Fatalf("Decrypted key does not match generated one: got %x - want %x", key.Plaintext, plaintext) } } func TestDecryptKey(t *testing.T) { KMS, err := ParseSecretKey("my-key:eEm+JI9/q4JhH8QwKvf3LKo4DEBl6QbfvAl1CAbMIv8=") if err != nil { t.Fatalf("Failed to initialize KMS: %v", err) } for i, test := range decryptKeyTests {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 2.9K bytes - Viewed (0)