Requirements
1. aes_encrypt(): encrypted data can be decrypted using mysql's aes_decrypt() function
2. aes_decrypt(): It can decrypt data encrypted using mysql's aes_encrypt() function.
3. Initialization vector not used.
4. The two functions should produce same results as corresponding mysql functions.
Below are some sample data:
If you're interested, please send me a private message with your asking price. I'll pay for the source code via paypal.
More detail: details
Solution in Java is here. All you need to do is to convert the code to B4A.
1. aes_encrypt(): encrypted data can be decrypted using mysql's aes_decrypt() function
2. aes_decrypt(): It can decrypt data encrypted using mysql's aes_encrypt() function.
3. Initialization vector not used.
4. The two functions should produce same results as corresponding mysql functions.
Below are some sample data:
B4X:
SELECT aes_encrypt('abc', '123'), aes_decrypt(aes_encrypt('abc', '123'), '123');
result: 0x911ff5b9a15aae9b52e7e9fde75315b1, abc
If you're interested, please send me a private message with your asking price. I'll pay for the source code via paypal.
More detail: details
Solution in Java is here. All you need to do is to convert the code to B4A.