Hi everyone, I need to crypt a string with a tool (not the app) and then be able to decode it back from the app.
example tool: https://encode-decode.com/aes256-encrypt-online/
1. Crypt a text with the above tool
2. Copy the output string (e.g. Kj7ytYpr5Z/g93JaBEUo9Q==)
3. Use that string in the APP to decode it back to its original form
Crypted text = "test"
Password = "pwd"
Algo: AES256
It is not important that is AES256 or AES128 etc... my goal is to be able to decode an encrypted string.
I already saw this thread
www.b4x.com
but if I try something like:
it return empty string
Thanks in advance.
example tool: https://encode-decode.com/aes256-encrypt-online/
1. Crypt a text with the above tool
2. Copy the output string (e.g. Kj7ytYpr5Z/g93JaBEUo9Q==)
3. Use that string in the APP to decode it back to its original form
Crypted text = "test"
Password = "pwd"
Algo: AES256
It is not important that is AES256 or AES128 etc... my goal is to be able to decode an encrypted string.
I already saw this thread
[B4X] B4XEncryption
This library allows you to encrypt or decrypt data using the AES encryption method. To prevent confusion, B4XEncryptino is not a b4xlib and is made of three platform specific libraries: B4XEncryption - B4A jB4XEncryption - B4J iEncryption - B4i (Encrypt and Decrypt methods) It is simple to use...

B4X:
Log(DecryptText("Kj7ytYpr5Z/g93JaBEUo9Q==".GetBytes("UTF8"), "pwd"))
Thanks in advance.