Ruby Findings

digging for gems

On the fly field encryption/decryption

Posted by Art Green Sat, 05 Jan 2008 20:52:00 GMT

"ActsAsSecure adds an ability to store ActiveRecord model's fields encrypted in a DB. When a model is marked with acts_as_secure, the :binary type fields are recognized as needed to be stored encrypted. The plugin does before_save/after_save/after_find encryption/decryption thus making it transparent for a code using secured models.

The plugin supports a master key approach as well as individual records encryption keys. It does not contain any crypto provider but allows to plug in any external one as long as it supports encrypt/decrypt methods."

http://revolutiononrails.blogspot.com/2007/04/plugin-release-actsassecure.html

The site has some other goodies too.

Posted in | no comments | Tags , , | atom

Trackbacks

Use the following link to trackback from your own site:
http://www.rubyfindings.com/trackbacks?article_id=on-the-fly-field-encryption-decryption&day=05&month=01&year=2008

Comments

Leave a response

Leave a comment