B4XCipher uses AES with a random salt and random initialization vector to encrypt the data. The salt and IV are stored in the returned data. This encryption method is compatible with B4A B4XCipher and B4i Cipher objects. Note that it depends on BouncyCastle.