module HexaPDF::Filter::Encryption

This filter module allows access to the standard encryption and decryption routines implemented by the SecurityHandler using the standard Filter interface.

The options hash for ::decoder and ::encoder must contain two keys: :key (the encryption/decryption key) and :algorithm (the class used for encrypting/decrypting).

This module must not be confused with the Crypt filter specified in the PDF specification!

Public Class Methods

decoder(source, options)
encoder(source, options)