iv Property
The initialization vector (IV).
Syntax
def get_iv() -> bytes: ... def set_iv(value: bytes) -> None: ...
iv = property(get_iv, set_iv)
Default Value
""
Remarks
This property specifies the initialization vector (IV). By default this property is empty and the class will automatically generate a new iv value if key_password or key is set before encrypt or encrypt_block is called. The size of the IV property must be equal to the BlockSize divided by 8.