bits_in_key Property
The length of the encryption key.
Syntax
def get_bits_in_key() -> int: ... def set_bits_in_key(value: int) -> None: ...
bits_in_key = property(get_bits_in_key, set_bits_in_key)
Default Value
0
Remarks
When using a variable-key encryption algorithm (typical examples are RC4, RC2, and Blowfish), provide the desired key length via this property.
This value is ignored if a fixed-key algorithm (such as AES128 or 3DES) is used.