TAESEncryption Decrypt

Hi,

This code fails on the 2nd line with error Invalid Operation: -207.

I am using version 5.1.1.9. I don’t know when this started happening.

 NewPassword:=AESEncrypt.Encrypt(OldPassword);
 S:=AESEncrypt.Decrypt(NewPassword);

Thanks,

Ken

Hi, this is a conversion issue. Please read previous posts on error -207, error -208 or AES “not working”. See also AES examples in …\Demo\FMX.

Regards,

bernard