CryptoSys API Library Manual

Aes192.Decrypt Method (String, String, Mode, String, EncodingBase)

Decrypt encoded data string

Syntax

[C#]
public static string Decrypt(
	string inputStr,
	string keyStr,
	Mode mode,
	string ivStr,
	EncodingBase encodingBase
)
[VB.NET]
Public Shared Function Decrypt ( _
	inputStr As String, _
	keyStr As String, _
	mode As Mode, _
	ivStr As String, _
	encodingBase As EncodingBase _
) As String

Parameters

inputStr
Encoded input data
keyStr
Encoded key representing exactly 24 bytes (192 bits)
mode
Cipher Mode
ivStr
Encoded IV representing exactly 16 bytes or "" for ECB mode
encodingBase
Type of encoding used

Return Value

Decrypted data in encoded string or empty string on error

Remarks

For ECB and CBC modes, the length of the decoded input bytes must be an exact multiple of the block length

[Contents] [Index]

[HOME]   [NEXT: Aes192.Dispose Method...]

Copyright © 2001-9 D.I. Management Services Pty Ltd. All rights reserved.