-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 4.0.0 #45
Version 4.0.0 #45
Conversation
Add codecov support on github build action Remove push rule Add push
Update sample versions
Codecov Report
@@ Coverage Diff @@
## main #45 +/- ##
=======================================
Coverage ? 94.36%
=======================================
Files ? 6
Lines ? 142
Branches ? 28
=======================================
Hits ? 134
Misses ? 3
Partials ? 5 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me. can you ship this?
@Uli-Armbruster I need to run some more tests for byte[] encryption as a I'll keep you updated on this. |
For my understanding: When I have an Entity with a property of type byte[], then there would be under certain circumstances failures in encryption since extra 0 bytes are added? |
Version 4.0.0
Added
Changes
IEncryptionProvider
interface to be simpler to use:byte[] Encrypt(byte[] input)
instead ofTStore Encrypt<TStore, TModel>(TModel dataToEncrypt, Func<TModel, byte[]> converter, Func<Stream, TStore> encoder);
byte[] Decrypt(byte[] input)
instead ofTModel Decrypt<TStore, TModel>(TStore dataToDecrypt, Func<TStore, byte[]> decoder, Func<Stream, TModel> converter);
Other changes
README.md
documentation for creating a custom encryption provider. (Pleas update docs for IEncryptionProvider #37)Removals
AesProvider(byte[] key, CipherMode mode = CipherMode.CBC, PaddingMode padding = PaddingMode.PKCS7)
onAesProvider
.Other removals