Skip to content
railsengines.com

Mass Encryption

Encrypt data in mass with Active Record Encryption

No ratings yet
Gem
mass_encryption
Repository
basecamp/mass_encryption
License
MIT
Stars
110
Added
August 18, 2026

About

Encrypt data in mass with Active Record Encryption

MassEncryption lets you encrypt large sets of data using Active Record encryption.

What you get

  • ONLY. Comma-separated list of class names to encrypt.
  • EXCLUDE. Comma-separated list of class name to exclude.
  • BATCH_SIZE. The amount of records each job will encrypt. By default it's 1000.
  • TRACKS: The number of tracks to use (only available when encrypting in tracks). By default it's 1.

Installing it

ruby
# Gemfile
gem "mass_encryption"

Details

110 stars on GitHub · MIT licensed · maintained by basecamp. Source: https://github.com/basecamp/mass_encryption

Discussion (0)

Sign in to join the discussion.

No comments yet.