(t *testing.T)
| 83 | } |
| 84 | |
| 85 | func TestEncryptDecryptAES_LongKey(t *testing.T) { |
| 86 | key := strings.Repeat("a", 100) |
| 87 | plaintext := "test data" |
| 88 | |
| 89 | encrypted, err := EncryptAES(key, plaintext) |
| 90 | require.NoError(t, err) |
| 91 | |
| 92 | decrypted, err := DecryptAES(key, encrypted) |
| 93 | require.NoError(t, err) |
| 94 | assert.Equal(t, plaintext, decrypted) |
| 95 | } |
nothing calls this directly
no test coverage detected