MFiles.Crypto - error when Decrypt


trying to use MFiles.Crypto and i run into some erros with decrypt. Maybe i do something wrong, but...

for encrypt i use:

string pInput = "Message to crypt."
byte[] bytes = MFiles.Crypto.CryptoAES.EncryptString(pInput, "abc");

got something back and it looks like, all ok.

I grabbed that crypted string and try to decrypt it like this:

string pInputEx = "..saved crypted string..."
string pOutput = MFiles.Crypto.CryptoAES.DecryptString(pInputEx, "abc");

And i got error

System.OverflowException: Array dimensions exceeded supported range.

Any "kick" / help appreciated


Parents Reply Children
No Data