{"id":80215,"library":"lockbox","title":"Lockbox","description":"Modern encryption for Ruby and Rails.","status":"active","version":"2.2.0","language":"ruby","source_language":null,"source_url":"https://github.com/ankane/lockbox","tags":["encryption","security","rails","crypto"],"install":[{"cmd":"gem install lockbox","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'lockbox', '~> 2.2.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Lockbox","correct":"require 'lockbox'"}],"quickstart":{"code":"require 'lockbox'\n\nbox = Lockbox.new(key: Lockbox.attribute_key)\nencrypted = box.encrypt('Hello, world!')\ndecrypted = box.decrypt(encrypted)\nputs decrypted","lang":"ruby","description":"Encrypt and decrypt a string"},"warnings":[],"env_vars":null,"search_vec":"'crypto':11 'encrypt':3,8 'lockbox':1 'modern':2 'rail':7,10 'rubi':5 'secur':9","created_at":"2026-06-18T05:16:48.035609+00:00","updated_at":"2026-06-18T05:16:48.035609+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/ankane/lockbox","github":"https://github.com/ankane/lockbox","docs":"http://www.rubydoc.info/gems/lockbox/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}