Open giaesp opened 8 years ago
Hello, I think there's a typo in "HowToUse.cs" At line 7
string key = CryptLib.getHashSha256("my secret key", 31);
There is "31": this causes a wrong padding exception in asp.net c# code. I was testing encryption on Android side and decryption on C# server-side. Using value "32" everything works fine.
Hello, I think there's a typo in "HowToUse.cs" At line 7
string key = CryptLib.getHashSha256("my secret key", 31);
There is "31": this causes a wrong padding exception in asp.net c# code. I was testing encryption on Android side and decryption on C# server-side. Using value "32" everything works fine.