method

encryption_key

rails latest stable - Class: ActiveRecord::Encryption::KeyProvider
encryption_key()
public

Returns the first key in the list as the active key to perform encryptions

When +ActiveRecord::Encryption.config.store_key_references+ is true, the key will include a public tag referencing the key itself. That key will be stored in the public headers of the encrypted message