aes

  1. M

    iOS Question [SOLVED] [B4X] Decode AES encoded STRING

    Hi everyone, I need to crypt a string with a tool (not the app) and then be able to decode it back from the app. example tool: https://encode-decode.com/aes256-encrypt-online/ 1. Crypt a text with the above tool 2. Copy the output string (e.g. Kj7ytYpr5Z/g93JaBEUo9Q==) 3. Use that string in the...
  2. Swissmade

    iOS Question Using B4XAES Lib

    Hi all, I use the nice B4XAES library in B4J and B4A. In the post https://www.b4x.com/android/forum/threads/b4x-b4xaes-v2-0-encryption-decryption-b4xlib-b4a-b4i-b4j.141536/ it says that the lib can also be used in b4i. Reason to use this is of the good Encryption and has to be compatible with...
  3. KMatle

    B4J Library bcprov-jdk18on-171 (BouncyCastle) update (encryption)

    Tested under B4J Java 11 agains OpenSSL (PHP): AES256 RSA (creating/using keys including signing/verifying) Hashing (HMAC, SHA1, 256 and 512) via Agraham's Encryption library Download: https://www.bouncycastle.org/download/bcprov-jdk18on-171.jar
  4. toby

    Android Question Having trouble implementing mysql AES_Encrypt/Aes_Decrypt compatible functions

    I'm new to encryption, btw, and I want to be able to compare encrypted mysql data on the fly while executing a select query like SELECT * from myTable WHERE encrytedField=selectedEncryptedValue or SELECT * from myTable WHERE aes_decrypt(encrytedField, '123')=selectedValue Therefore I need...
  5. KMatle

    B4R Tutorial [B4x]: Exchange AES-256 encrypted messages between ESP32 and B4x

    This is about how to exchange AES256 encrypted messages incl. generated IV (initialization vector) between a ESP32 and B4x. Notes: - the ESP uses AES/CBC/NoPadding. The data must be padded (must have a length which is a multiple of 16). I've used a length of 256 to to get there (instead of...
  6. KMatle

    B4R Tutorial ESP32: AES-256 with IV (CBC, PKCSNoPadding) example via Inline C

    Finally I got it working. Maybe the Inline C code is not that elegant :) I was too lazy to add a Salt (which I will update later). Hardest part (for me as I don't like C since the 90ies) was to exchange the data between B4R Main and the Inline C. However: I got it. Note: As PKCSNoPadding ist...
  7. KMatle

    Wish ESP32: AES & RSA encryption (C code attached)

    I've found examples in C but I'm not experienced with inline C. Could someone adapt these examples to usable inline code? RSA https://github.com/espressif/arduino-esp32/blob/master/tools/sdk/include/mbedtls/mbedtls/rsa.h AES...
  8. OliverA

    B4A Class [B4A/B4J] LockBox3 (Delphi) AES ECB/CBC encrypting / decrypting

    This class can be used decrypt data created with LockBox3 and encrypt data that will be properly handled by LockBox3. LockBox3 is an encryption/decryption library for Delphi. There are actually three classes, LB3AES, LB3AESECB and LB3AESCBC. The only class that is used to instantiate an object...
Top