Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Eastrall committed Jan 17, 2023
1 parent bd98019 commit 9a52243
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

## Disclaimer

<h4 align="center">:warning: This project is **not** affiliated with Microsoft. :warning:</h4><br>

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.

I **do not** take responsability if you use/deploy this in a production environment and loose your encryption key or corrupt your data.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void DecryptNullOrEmptyDataTest()
[InlineData(AesKeySize.AES256Bits)]
public void EncryptDecryptByteArrayTest(AesKeySize keySize)
{
byte[] input = _faker.Random.Bytes(5);
byte[] input = _faker.Random.Bytes(_faker.Random.Int(10, 30));
AesKeyInfo encryptionKeyInfo = AesProvider.GenerateKey(keySize);
var provider = new AesProvider(encryptionKeyInfo.Key, encryptionKeyInfo.IV);

Expand Down

0 comments on commit 9a52243

Please sign in to comment.