I have 2 attributes say user_name
and password
. I want to encrypt both using attr_encrypted
using the per_attribute_iv_and_salt
mode where I store the iv
and salt
in the database. I dont want to use a separate iv
and salt
for each attribute. Is there a mode with just one Iv
and Salt
to encrypt both?
Asked
Active
Viewed 132 times
1

Raz Luvaton
- 3,166
- 4
- 21
- 36

PiKaY
- 279
- 4
- 15