class ActiveRecord::Encryption::KeyGenerator

def key_length

def key_length
  @key_length ||= ActiveRecord::Encryption.cipher.key_length
end