Registry / crypto / lockbox

lockbox

JSON →
library2.2.0rbrubygemsunverified

Modern encryption for Ruby and Rails.

gem install lockbox
INSTALL
IMPORT
SIG · LOCKBOX
L
lockbox
cryptorubyv2.2.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.

Lockbox
require 'lockbox'

Encrypt and decrypt a string

require 'lockbox' box = Lockbox.new(key: Lockbox.attribute_key) encrypted = box.encrypt('Hello, world!') decrypted = box.decrypt(encrypted) puts decrypted
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
lockbox — gem install lockbox · libregistry