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

jB4XEncryption

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 B4A B4XCipher and B4i Cipher objects.
Note that it depends on BouncyCastle.

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