SDK

CryptoError

An envelope did not open or a format did not match the protocol. Deliberately one class: distinguishing "wrong key" from "tampered ciphertext" would hand an oracle to whoever is probing.

On this page

exception

Signature #

class CryptoError

Bases: DiagnosError

An envelope did not open or a format did not match the protocol.

Deliberately one class: distinguishing "wrong key" from "tampered ciphertext" would hand an oracle to whoever is probing.