EncryptUtilities.DecryptStringFromBytes_Aes(Byte[], Byte[], Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The decrypted string.