module ActiveSupport::MessageEncryptor::Serializer

Overview

Serializes the payload carried inside the envelope.

Rails defaults to Marshal and lets an application swap in JSON or MessagePack through config.active_support.message_serializer. That setting does not reach EncryptedFile, which pins Marshal, so MarshalSerializer is the default here too.

Direct including types

Defined in:

active_support/message_encryptor.cr

Instance Method Summary

Instance Method Detail

abstract def dump(value : String) : Bytes #

abstract def load(data : Bytes) : String #