Secures ActiveRecord attributes with public key encryption