key_password Property
A password to generate the Key and IV .
Syntax
def get_key_password() -> str: ... def set_key_password(value: str) -> None: ...
key_password = property(get_key_password, set_key_password)
Default Value
""
Remarks
When this property is set the class will calculate values for key and iv using the PKCS5 password digest algorithm. This provides a simpler alternative to creating and managing key and iv values directly.
The size of the key generated is dependent on the value of KeySize.