I am trying to use EntityFrameworkCore.DataEncryption. I am unable to retrieve records from the database. I am getting the encryption padding error while reading the records as per the example.
PS. @Eastrall I am unable to add comments for my query on Data Encryption in Data Layer with ASP.NET Core Entity Framework so added a new question here.
I have used the AES256Bits as block size and set PaddingMode.PKCS7. Make sure you save the keys and use the same key for subsequent read and write operations. This will stop any errors while parsing the records as well.