| AES256DecryptStringFromBytes Method |
Decrypts an array of AES 256 encrypted bytes to a plain text string.
Namespace:
Galactic.Cryptography
Assembly:
Galactic.Cryptography (in Galactic.Cryptography.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public static string DecryptStringFromBytes(
byte[] cipherText,
byte[] key,
byte[] iv
)
Public Shared Function DecryptStringFromBytes (
cipherText As Byte(),
key As Byte(),
iv As Byte()
) As String
public:
static String^ DecryptStringFromBytes(
array<unsigned char>^ cipherText,
array<unsigned char>^ key,
array<unsigned char>^ iv
)
static member DecryptStringFromBytes :
cipherText : byte[] *
key : byte[] *
iv : byte[] -> string
Parameters
- cipherText
- Type: SystemByte
The bytes to decrypt. - key
- Type: SystemByte
The key used by the decryption algorithm. - iv
- Type: SystemByte
The initialization vector used by the decryption algorithm.
Return Value
Type:
StringThe decrypted string, or null if the byte array could not be decrypted.
See Also