class Cipher
Ruby on Rails 7.2.3
Since v7.0.10The algorithm used for encrypting and decrypting Message objects.
It uses AES-256-GCM. It will generate a random IV for non deterministic encryption (default) or derive an initialization vector from the encrypted content for deterministic encryption.
See Cipher::Aes256Gcm.
Inherits from
Namespace
Classes
Extends
Constants
Methods (defined here)
- # decrypt
- # encrypt
- # iv_length
- # key_length
Private methods
(2)
Implementation detail — not part of the public API.
Methods (inherited)
From ActiveSupport::Autoload (5)
From Object (17)
- # acts_like?
- # blank?
- # deep_dup
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # with
- # with_options
From ActiveSupport::NumericWithFormat (2)
- # to_formatted_s
- # to_fs