B4A Library [B4X] B4XEncryption - Erel    
Sep 10, 2025   
(24 reactions) 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...
link: that lets you use B4XEncryption data in the .net environment, see:
https://www.b4x.com/android/forum...
link: This only use aes? what about 3des
victor
Look THIS...
link: This only use aes? what about 3des
victor...
Tool B4XEncryption .net DLL class library - Chris Lee    
Feb 25, 2018   
(13 reactions) service.
Because the B4XEncryption library works in all the B4X environments, I wanted a way to decrypt and encrypt data in the same way as the B4XEncryption libraries do.
Details of the B4XEncryption...
link: (
B4XEncryption.B4XCipher.Decrypt(
Convert...
link: Hi dcoun,
Unfortunately I don't have the spare time to create a native C library. Keep in mind ...
link: dll ? Thank you in advance
Did you see this https://www.b4x.com/android/forum/threads/b4xencryption...
B4A Question About B4XEncryption library - LucaMs    
Sep 8, 2025 B4XEncryption library:
https://www.b4x.com/android/forum/threads/b4x-b4xencryption.48177/
166651
I'm lost!
Is that B4XEncryption described at that link?
Is it obsolete? It seems to be only...
link: I've updated the library description....
link:
Note that
Also, note that you shouldn't disappear for a whole day, given what's going on, ...
link:
Carefully read here: https://www.b4x.com/android/forum/threads/b4x-b4xencryption.48177...
B4i Question [SOLVED] B4XEncryption to iEncryption: Error decoding data as string. - yiankos1    
Nov 29, 2024 b4a
Dim c As B4XCipher
#Else
Dim c As Cipher
#End If
Return c.Encrypt(text... As String) As String
#if b4a
Dim c As B4XCipher
#Else
Dim c As Cipher
#End If
Dim b...
link: b4a
Dim c As B4XCipher
#Else
Dim c As Cipher
#End If
Private su As StringUtils...
link: Full example:
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout...
link: ) As Byte()
#if b4a
Dim c As B4XCipher
#Else
Dim c As Cipher
#End If
Return c...
B4J Question B4XEncryption Decryption help needed [Solved] - Anser    
Mar 7, 2018Hi,
I am trying to use B4XEncryption and Decryption.
I Encrypt some data in B4A app and I expect....PaddedBufferedBlockCipher.doFinal(Unknown Source)
at anywheresoftware.b4x.object.B4XEncryption.Decrypt(B4XEncryption...
link: Yes I was also thinking on that line, but do not know where to start.
I am starting a new question ...
link: My 1 cent of input:
Do not pass username/password in the URL. URL's are often logged. POST the ...
link: Solved.
The problem was that, inside the B4J app, to decrypt, I was calling su.DecodeURL, which was...
Tool B4XEncryption : Decrypt from Delphi - dcoun    
Apr 9, 2018   
(7 reactions)Use DCPcrypt lib from https://sourceforge.net/p/dcpcrypt/code/HEAD/tree/
I took code from: http://ke...
link: in all platforms
unit Unit1;
interface
uses system.classes, system.SysUtils;
type TC4D=class...
link: long text will fail with this code...
link: It was late in the night, when I posted my first results. Today, I had the time to rewrite it and te...
B4A Question [SOLVED] Data encryption - B4XEncryption - LucaMs    
Mar 1, 2020I tested with B4J the code attached to the B4XEncryption thread:
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...
link: It seems that only the first encryption + decryption takes "all that time", the subsequent ones take few ms....
B4i Question Error Compiling Program - "fatal error: 'B4XEncryption.h' file not found" - MrKim    
Jul 18, 2020 'B4XEncryption.h' file not found"
B4i Version: 6.50
Parsing code. (0.20s)
Building folders.../B4iProject/b4i_testmysql.h:9:9: fatal error: 'B4XEncryption.h' file not found
#import...
link: the libraries (b4xlibs, internal, additional, ...)
Oh goodness, that will be wonderful! The other thing...
link: the libraries (b4xlibs, internal, additional, ...)...
link:
B4A - B4XEncryption
B4J - jB4XEncryption
B4i - iEncryption
Finally got all three working!!!...
B4A Question (SOLVED) B4XEncryption difference between B4J and B4A? (or is it me? probably me...) - walt61 (first post)    
Aug 9, 2025   
(5 reactions)Found it ! I was using #AdditionalJar: bcprov-jdk18on-177 and that appears to have been the culprit....
link: With the above example code, that's correct, Don. However, what I'm actually using is Erel...
link: ?
your code
Dim size As Long = File.Size(inPath, "") Dim b(size) As Byte rafInput.ReadBytes(b...
link: Thanks Erel, but as I'm implementing a sync process, I need it to work in both directions. With ...
B4J Library jB4XEncryption - Erel    
Feb 7, 2021   
(10 reactions)This library allows you to encrypt or decrypt data using the AES encryption method.
It is simple to use and it is compatible with B4A B4XEncryption 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 different platform.
The B4J library depends on BouncyCastle. You need to download this jar and use #AdditionalJar: https://www.b4x.com/android/forum/threads/share-encrypted-data-with-b4a.35482/#content...
Page: 1  
2  
3  
4  
5