Welcome! Log In Create A New Profile

Advanced

[WB 22] [WM 22] Crypt functions

Posted by Mauricio 
[WB 22] [WM 22] Crypt functions
January 02, 2019 02:09PM
Hi everyone,
I have a class that encrypt/decrypt a string. The idea is to decrypt in WM (Android) a text previously encrypted with WB. However, the result is not the same (in fact, it returns ???). Anyone has an idea where the problem is or has a function that wants to share?
Thanks in advance.

Mauricio
Re: [WB 22] [WM 22] Crypt functions
January 02, 2019 02:35PM
Mauricio,

my first guess would be that you WM is UNICODE.
So you have to convert the text to unicode first in WB using StringToUTF8() or AnsiToUnicode () and then use Crypt()

Arie
Re: [WB 22] [WM 22] Crypt functions
January 02, 2019 03:05PM
Hi, for mobile devices you have to use the CryptStandard fuctions!

Kind regards,
Guenter Predl
office@windev.at
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: