LucaMs Expert Licensed User Longtime User Mar 2, 2020 #1 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: Mar 2, 2020
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.
LucaMs Expert Licensed User Longtime User Mar 2, 2020 #2 It seems that only the first encryption + decryption takes "all that time", the subsequent ones take few ms. Upvote 0
It seems that only the first encryption + decryption takes "all that time", the subsequent ones take few ms.