File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
test/EntityFrameworkCore.DataEncryption.Test/Providers Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 99
1010## Disclaimer
1111
12+ <h4 align =" center " >:warning: This project is **not** affiliated with Microsoft. :warning:</h4 ><br >
13+
1214This 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
1416I ** do not** take responsability if you use/deploy this in a production environment and loose your encryption key or corrupt your data.
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments