Raise Cryptor::InvalidMessageError if given an invalid message