Query Db?
chabgood opened this issue · comments
Is there a way to querry the db for a particular record?
ex. DisclosureForm.find_by(encrypted_name: params[:name])
DisclosureForm.find_by(encrypted_name: SymmetricEncryption.encrypt(params[:name]))
Symmetric Encryption for Ruby Projects using OpenSSL
chabgood opened this issue · comments
Is there a way to querry the db for a particular record?
ex. DisclosureForm.find_by(encrypted_name: params[:name])
DisclosureForm.find_by(encrypted_name: SymmetricEncryption.encrypt(params[:name]))