I'm working with local database, and I want to encrypt the strings when save to tables, when I want to show info from database to the user I want to decrypt the info.
I'm using an example that I found for .NET here http://www.codeproject.com/Articles/33350/Encrypting-Query-Strings
I'm not using it to encrypt querystrings but it works for everything.
the Encryption method works well, but the Decryption method always throws an System.Security.Cryptography.CryptographicException: Bad PKCS7 padding. Invalid length...
Searching on the web(google) I realized that is a general problem of Mono, but I cant find a solution that could make this example to work or any public solution.
It is possible to make the example to work in xamarin ?