aes-256

  1. KMatle

    B4R Tutorial Updated B4R-AES256 example (compatible with B4x, php and all other platforms)

    This is an updated example how to en-/decrypt data with AES256. Libs needed: jRandomAccessFile only Notes: - As far as I know, the ESP32 doesn't support padding like PKCS5/7, so I had to do it on my own - Other Cyphers support padding - AES is a block cipher, so we have to build one block...
  2. KMatle

    B4J Code Snippet [B4x] AES-256 encryption with salt and iv (works with all platforms like php, .net, etc.)

    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...
Top