Android Programming Press on the image to return to the main documentation page.

B4XEncryption

List of types:

B4XCipher

B4XCipher

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 B4J B4XCipher and B4i Cipher objects.
Note that on Android 4.3 and below the password should only include ASCII characters.

Events:

None

Members:


  Decrypt (Data() As Byte, Password As String) As Byte()

  Encrypt (Data() As Byte, Password As String) As Byte()

Members description:

Decrypt (Data() As Byte, Password As String) As Byte()
Decrypts the given data with the given password.
Encrypt (Data() As Byte, Password As String) As Byte()
Encrypts the given data with the given password.
Top