Skip to content

Commit 9a52243

Browse files
committed
Update tests
1 parent bd98019 commit 9a52243

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
## Disclaimer
1111

12+
<h4 align="center">:warning: This project is **not** affiliated with Microsoft. :warning:</h4><br>
13+
1214
This library has been developed initialy for a personal project of mine which suits my use case. It provides a simple way to encrypt column data.
1315

1416
I **do not** take responsability if you use/deploy this in a production environment and loose your encryption key or corrupt your data.

test/EntityFrameworkCore.DataEncryption.Test/Providers/AesProviderTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public void DecryptNullOrEmptyDataTest()
5050
[InlineData(AesKeySize.AES256Bits)]
5151
public void EncryptDecryptByteArrayTest(AesKeySize keySize)
5252
{
53-
byte[] input = _faker.Random.Bytes(5);
53+
byte[] input = _faker.Random.Bytes(_faker.Random.Int(10, 30));
5454
AesKeyInfo encryptionKeyInfo = AesProvider.GenerateKey(keySize);
5555
var provider = new AesProvider(encryptionKeyInfo.Key, encryptionKeyInfo.IV);
5656

0 commit comments

Comments
 (0)