module HexaPDF::Filter::Encryption

def self.decoder(source, options)

See HexaPDF::Filter
def self.decoder(source, options)
  options[:algorithm].decryption_fiber(options[:key], source)
end

def self.encoder(source, options)

See HexaPDF::Filter
def self.encoder(source, options)
  options[:algorithm].encryption_fiber(options[:key], source)
end