GitHub

DecryptionFailed

API reference for DecryptionFailed.

A decryption or unwrap failed its integrity check, or a CBC ciphertext had bad padding or length. It is the same for every cause and carries none, so a tampered tag cannot be told from bad padding.

Attributes

AttributeTypeDescription
tagReasonTag = 'DecryptionFailed'
messagestr

Functions

__init__

__init__() -> None