class ActiveRecord::Encryption::Scheme

def validate_keys!

def validate_keys!
  validate_credential :key_derivation_salt
  validate_credential :primary_key, "needs to be configured to use non-deterministic encryption" unless @deterministic
  validate_credential :deterministic_key, "needs to be configured to use deterministic encryption" if @deterministic
end