module HexaPDF::Filter::Crypt

def self.decoder(source, options)

See HexaPDF::Filter
def self.decoder(source, options)
  if !options || !options.key?(:Name) || options[:Name] == :Identity
    source
  else
    raise FilterError, "Handling of Crypt filters besides Identity is not implemented"
  end
end