Eastrall / EntityFrameworkCore.DataEncryption

A plugin for Microsoft.EntityFrameworkCore to add support of encrypted fields using built-in or custom encryption providers.
MIT License
326 stars 54 forks source link

Pleas update docs for IEncryptionProvider #37

Closed Polemus closed 1 year ago

Eastrall commented 1 year ago

The encryption provider documentation will be updated in v4 since the system has changed and is now much easier to setup. The interface is simplier, it just takes a byte[] input and needs to return the encrypted/decrypted data as a byte[]:

public interface IEncryptionProvider
{
    byte[] Encrypt(byte[] input);
    byte[] Decrypt(byte[] input);
}

Please wait a little bit for v4 release, I should release it at the same time as .NET 7 release.

Eastrall commented 1 year ago

Shipped in 4.0.0