Android Question [SOLVED] Data encryption - B4XEncryption

LucaMs

Expert
Licensed User
Longtime User
I tested with B4J the code attached to the B4XEncryption thread:
B4X:
Dim encryptedData() As Byte = EncryptText("confidential", "123456")
Log(DecryptText(encryptedData, "123456"))
It takes about 2.3 / 2.4 seconds on my PC, to encrypt and decrypt that short text, using that short password.

It is a lot of time. Is there anything faster (still multiplatform)?


P.S. Tested a longer string with a longer and more complex pw: about 2.6 s.
 
Last edited:
Top