WalletCore
WalletCore
/
wallet.core.jni
/
AES
AES
class
AES
AES encryption/decryption methods.
Functions
Functions
decrypt
CBC
Link copied to clipboard
open
fun
decryptCBC
(
key
:
Array
<
Byte
>
,
data
:
Array
<
Byte
>
,
iv
:
Array
<
Byte
>
,
mode
:
AESPaddingMode
)
:
Array
<
Byte
>
Decrypts a block of data using AES in Cipher Block Chaining (CBC) mode.
decrypt
CTR
Link copied to clipboard
open
fun
decryptCTR
(
key
:
Array
<
Byte
>
,
data
:
Array
<
Byte
>
,
iv
:
Array
<
Byte
>
)
:
Array
<
Byte
>
Decrypts a block of data using AES in Counter (CTR) mode.
encrypt
CBC
Link copied to clipboard
open
fun
encryptCBC
(
key
:
Array
<
Byte
>
,
data
:
Array
<
Byte
>
,
iv
:
Array
<
Byte
>
,
mode
:
AESPaddingMode
)
:
Array
<
Byte
>
Encrypts a block of Data using AES in Cipher Block Chaining (CBC) mode.
encrypt
CTR
Link copied to clipboard
open
fun
encryptCTR
(
key
:
Array
<
Byte
>
,
data
:
Array
<
Byte
>
,
iv
:
Array
<
Byte
>
)
:
Array
<
Byte
>
Encrypts a block of data using AES in Counter (CTR) mode.