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
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. It is simple to use and it is compatible with B4J jB4XEncryption library and B4i Encryption library (Encrypt and Decrypt method) which means that you can encrypt the data on one platform and decrypt it on a...
www.b4x.com
B4X:
Log(DecryptText("Kj7ytYpr5Z/g93JaBEUo9Q==".GetBytes("UTF8"), "pwd"))
Thanks in advance.