Description
-
Holds the initialization vector for chain-mode
encryption.
Property type
-
A Variant value. Holds the initialization vector
as String expression or as Blob interface.
Syntax
-
object.InitVector [= value]
The InitVector Property syntax has these parts:
| object |
An expression
evaluating to an object of type wodCrypt. |
| value |
A Variant value. |
Remarks
-
InitVector is used when Mode is set to
CBC, CFB or
OFB. In these modes, during encryption each block of
data is XOR-ed with the value of InitVector
at some stage. InitVector data is internally changed on
each iteration so different blocks of data produce
different ciphertext blocks.
The same InitVector value must be used when you try to
Decrypt the
data!
|