RubyGems Navigation menu

encrypt_attributes 0.0.1

This gem provides a dead-simple encryption of string / text attributes of ActiveRecord and Mongoid models. Encryptor internally uses ActiveSupport::MessageEncryptor and therefore it uses 'aes-256-cbc' cipher by default. Gem does NOT require column with different name. From user perspective encryption is completely transparent - they use decrypted values all the time, but encrypted values are stored in database.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.0.1 - June 11, 2014 (12 KB)

Runtime Dependencies (1):

activesupport >= 4.1

Development Dependencies (8):

activerecord >= 4.1
bundler ~> 1.6
mongoid ~> 4.0.0.beta1
pry-byebug >= 0
rake >= 0
rspec ~> 3.0.0.rc1
rspec-mocks ~> 3.0.0.rc1
sqlite3 >= 0

Owners:

Authors:

  • Artur Hebda

SHA 256 checksum:

c188a91b1536e4a1d5243fc5bf082e1f5bae51d9723f450c52ec558d3f22faca

Total downloads 3,529

For this version 3,529

License:

MIT

Required Ruby Version: >= 0

Links: