key Property
The symmetric key to use for encryption.
Syntax
def get_key() -> bytes: ... def set_key(value: bytes) -> None: ...
key = property(get_key, set_key)
Remarks
Use this property to provide a symmetric key to use for encryption. If the symmetric key is provided, an output message of EncryptedData type will be formed. The recipient of this message will need to have the same key to decrypt it.