class ActiveSupport::MessageEncryptor::InvalidMessage

Overview

Raised when a message cannot be decrypted: wrong key, unknown envelope, truncated authentication tag, tampered ciphertext, or a payload the serializer does not recognise.

The message never carries the key or the plaintext.

Defined in:

active_support/message_encryptor.cr