Aes256InitEncrypt(String, Mode, String) Method |
Initializes with hex key, mode and hex IV ready to start encrypting
Namespace: CryptoSysAPIAssembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntaxpublic int InitEncrypt(
string keyHex,
Mode mode,
string ivHex
)
Public Function InitEncrypt (
keyHex As String,
mode As Mode,
ivHex As String
) As Integer
Parameters
- keyHex String
- Key in hex-encoded format
- mode Mode
- Cipher mode
- ivHex String
- IV in hex-encoded format
Return Value
Int32Zero (0) if successful; otherwise it returns a nonzero
error code
See Also