Sha256: 0b27cf05cf4f936ce9e0c1e57b35f26cb9ed8f995b949b29b525f712ba093aaf
Contents?: true
Size: 887 Bytes
Versions: 2
Compression:
Stored size: 887 Bytes
Contents
# Vidibus::Secure Allows encryption and signing of requests and storing encrypted data within Mongoid documents. This gem is part of [Vidibus](http://vidibus.org), an open source toolset for building distributed (video) applications. ## Installation Add `gem "vidibus-secure"` to your Gemfile. Then call `bundle install` on your console. If you want to use Vidibus::Secure::Mongoid on your models, you should generate an initializer to set an unique encryption key by calling `rails generate vidibus_secure_key`, also on your console. ## Usage ``` class MyModel include Mongoid::Document include Vidibus::Secure::Mongoid attr_encrypted :my_secret ``` Defining `attr_encrypted :my_secret` will create setter and getter for `my_secret`. You can use it like normal. But it will be stored encrypted. ## Copyright © 2010-2023 Andre Pankratz. See LICENSE for details.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vidibus-secure-4.0.1 | README.md |
vidibus-secure-4.0.0 | README.md |