IPWorks Encrypt 2020 Python Edition

Questions / Feedback?

iv Property

The initialization vector (IV) used when encrypting.

Syntax

def get_iv() -> bytes: ...
def set_iv(value: bytes) -> None: ...

iv = property(get_iv, set_iv)

Default Value

""

Remarks

This property optionally specifies an IV to be used when calling encrypt or decrypt. If specified the iv is used by encryption_algorithm during encryption.

If not specified the class will create an IV filled with null bytes (zeros). Since the encryption key is only used once the use of null bytes in the IV is considered acceptable and is a standard practice.

The length of the IV should be as follows:

encryption_algorithmIV Length (in bytes)
AES16
3DES8

This setting is not applicable when encryption_algorithm is set to XOR.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Encrypt 2020 Python Edition - Version 20.0 [Build 8155]