B4A Tutorial [B4x] AES Encryption (lessons learned & best practice) - KMatle Oct 04, 2018 (25 reactions) Don't panic if your backend-server uses https:// (RSA) (it's quite safe)
6. Not using https:// is VERY unsafe
5. Happy en-/decryption! B4J Library [B4X]B4XCryptFile b4xlib (B4A, B4i, B4J) - ThRuST (first post) Jul 07, 2022 (1 reaction) Interesting reading about encryption algorithms here
Here's another page
(Parts from the page below)
There’s a host of different encryption algorithms available today. Here are five of the more common ones.
AES. The Advanced Encryption Standard (AES) is the trusted standard algorithm used by th B4A Question B4xCipher decryption on other platforms - agraham (first post) Nov 04, 2021 (3 reactions) Whoever told you that? It's nonsense. AES is a standard. B4A Library AES Encrypt/Decrypt (Encryption/Decryption) B4A and B4J library - Peter Simpson Sep 22, 2020 (31 reactions) Released: 09/07/2019: 1.00
SS_AESEncryption
Author: Peter Simpson
Version: 1
AESEncryption
Fields:
InitializationVector As String
SecretKey As String
Functions:
AESDecrypt (DecryptData As String) As String
Decrypt AES encoded data to plain string
AESEncrypt (EncryptData As String) As String
E B4J Code Snippet [B4x] AES-256 encryption with salt and iv (works with all platforms like php, .net, etc.) - KMatle Feb 19, 2021 (12 reactions) This example is based on agrahams encryption library: Encryption Lib
1. Generate a 32 byte pw (just call the sub) and store it
2. Encrypt the data by calling AES_Encrypt. Return is a byte array or a base64 encoded string
3. Salt is a random value which is added at the beginning of the encrypted str B4J Question AES128 ECB Decrypt - aaronk (first post) Aug 23, 2019 “AES” is a class that is defined based on the windows’ RijndaelManaged class (https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.rijndaelmanaged?view=netframework-4.8) which is basically the code as above.
Not 100% sure on how to do the same thing in B4X (I thought I was doing B4J Question Decrypt password protected textfield - QtechLab (first post) Jan 18, 2022 (1 reaction) AES is Advanced Encryption Standard. Used tons of times from tons of devices, from microcontroller with AES128 to more robust solutions with 256.
Personally i would never try to create a cipher alghoritm myself because it will be too weak.
This is the example code that works with the PHP snippet ab B4A Question B4a Cipher (AES) vs. VB.NET 2017 Encryption - Jeffrey Cameron Sep 05, 2017 I'm trying to use AES on the Android side, for a simple example, here's my encryption block
Public Sub AES_Encrypt(DataToEncrypt As String) As String
Dim poKG As KeyGenerator
Dim poCy As Cipher
Dim poBC As ByteConverter
Dim poData() As Byte
' doing AES
poCy.Initialize("AES") B4A Question Disable or encrypt httpjob cache - KMatle (first post) Sep 21, 2019 (1 reaction) See my examples. AES is perfect for that. B4A Question AES encrypt/decrypt library - Erel (first post) Jul 27, 2022 (1 reaction) Try B4XEncryption library. Page: 1 2 3 4 5 6 7 Powered by ColBERT |