Encrypt hex-encoded data using the specified block cipher algorithm, mode and padding. The key and initialization vector are passed as hex-encoded strings.
Public Function cipherEncryptHex ( _ szInputHex As String, _ szKeyHex As String, _ szIvHex As String, _ szAlgModePad As String, _ Optional nOptions As Long = 0 _ ) As String
""
for ECB mode."aes128/cbc/pkcs5"
Alg: aes128|aes192|aes256|tdea|3des|desede3 Mode: ecb|cbc|ofb|cfb|ctr Pad: pkcs5|nopad|oneandzeroes|ansix923|w3c
API_IV_PREFIX
to prepend the IV before the ciphertext in the output
(ignored for ECB mode).Pkcs5
for ECB and CBC mode and NoPad
for all other modes.