Registry / crypto / symmetric-encryption

symmetric-encryption

JSON →
library4.6.0rbrubygemsunverified

Encrypt ActiveRecord and Mongoid attributes, files and passwords in configuration files.

gem install symmetric-encryption
INSTALL
IMPORT
SIG · SYMMETRIC-ENCRYPTI
S
symmetric-encryption
cryptorubyv4.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SymmetricEncryption
require 'symmetric-encryption'

Encrypt and decrypt data

require 'symmetric-encryption' SymmetricEncryption::Config.load!('config/symmetric-encryption.yml') encrypted = SymmetricEncryption.encrypt('secret data') decrypted = SymmetricEncryption.decrypt(encrypted)
Debug
Known issues
breakingRequires proper key management; lost keys mean lost data
fix
Store encryption keys securely and back them up
affects: >= 0
Upgrade
Version history
4.6.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
24
Meta
2
Amazon
1
Resources