Optionalcause: ErrorStaticaeadCreate a CryptoError for AEAD authentication failures.
Optionalerror: AeadErrorOptional underlying AeadError
A CryptoError wrapping the AEAD error
StaticinvalidCreate a CryptoError for invalid parameter values.
Description of the invalid parameter
A CryptoError describing the invalid parameter
Generic crypto error type