EncryptUtilities.DecryptStringFromBytes_Aes(Byte[], Byte[], Byte[]) Method

Definition

Decrypts a string using Advanced Encryption Standard (AES).

public static string DecryptStringFromBytes_Aes (byte[] cipherText, byte[] key, byte[] iv);
static member DecryptStringFromBytes_Aes : byte[] * byte[] * byte[] -> string
Public Function DecryptStringFromBytes_Aes (cipherText As Byte(), key As Byte(), iv As Byte()) As String

Parameters

cipherText
Byte[]

The encrypted bytes.

key
Byte[]

The 32-byte encryption key to use.

iv
Byte[]

A 16-byte initialization vector to use.

Returns

String

The decrypted string.

Applies to