Questions tagged [attr-encrypted]

63 questions
0
votes
1 answer

Validation of encrypted data

I encrypt all private data of users before storing in database with help of gem 'attr_encrypted'. For example, I have 'email_addresses' table, which contains 'encrypted_email' column. This gem decrypt data when I call object.email or when I search…
0
votes
2 answers

Using attr_encrypted with DataMapper and Sinatra

I'm quite new with DataMapper and Sinatra and especially attr_encrypted. What I want is to store my passwords encrypted and then be able to search for a user by username and password. I read the documentation of attr_encrypted, but I still don't get…
Faery
  • 4,552
  • 10
  • 50
  • 92
-2
votes
1 answer

In ruby on rails how to encrypt data and store in database

I am using rails v 5.1.7 and ruby v 2.6.3 i need to encrypt data like mobile number at db level how to achieve this, any gem suggestion to use
user18578733
1 2 3 4
5