adriano.freitas
Active Member
Hi!
I'm working on an application that sometimes needs to deal with long texts. What I need is for these long texts to be encrypted to avoid eavesdropping. I can't use SQLLite's encryption functions because I also have to send data via FTP and other means that need to be encrypted.
I searched here on the forum and saw the B4XEncryption Cipher and Decipher, however, the encryption result cannot be stored or sent directly because it contains special characters, so, after encrypting, I encode using BASE64. Everything is working perfectly, except for one detail: the delay. As they are long texts, the application freezes for a long time in this process (especially when encrypting)...
Does anyone have any suggestions for better performance?
Thank you very much!
I'm working on an application that sometimes needs to deal with long texts. What I need is for these long texts to be encrypted to avoid eavesdropping. I can't use SQLLite's encryption functions because I also have to send data via FTP and other means that need to be encrypted.
I searched here on the forum and saw the B4XEncryption Cipher and Decipher, however, the encryption result cannot be stored or sent directly because it contains special characters, so, after encrypting, I encode using BASE64. Everything is working perfectly, except for one detail: the delay. As they are long texts, the application freezes for a long time in this process (especially when encrypting)...
Does anyone have any suggestions for better performance?
Thank you very much!