TdeaDecrypt(Byte, Byte, Mode, Byte) Method |
Decrypt data in byte array.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static byte[] Decrypt(
byte[] input,
byte[] key,
Mode mode,
byte[] iv
)
Public Shared Function Decrypt (
input As Byte(),
key As Byte(),
mode As Mode,
iv As Byte()
) As Byte()
Parameters
- input Byte
- Input data
- key Byte
- Key of exactly 24 bytes (192 bits)
- mode Mode
- Cipher Mode
- iv Byte
- IV of exactly 8 bytes or null for ECB mode
Return Value
ByteDecrypted data in byte array or empty array on error
RemarksFor ECB and CBC modes, input data length must be an exact multiple of the block length
See Also