Skip to content
Jaspreet Singh edited this page Apr 25, 2026 · 3 revisions

ActiveCipherStorage is a Ruby gem for Rails Active Storage encryption and decryption. It encrypts files before storage, decrypts them on read, and supports AWS S3, streaming downloads, multipart uploads, AES-256-GCM envelope encryption, AWS KMS, and custom key providers.

Start Here

Common Use Cases

  • Encrypt files uploaded through Rails Active Storage.
  • Decrypt encrypted attachments transparently when downloading.
  • Store encrypted files in Amazon S3 or S3-compatible storage.
  • Stream large encrypted files without loading the whole file into memory.
  • Rotate encrypted data keys without rewriting the full file body.

Project Links

Clone this wiki locally