module HexaPDF::Encryption::Identity

The identity encryption/decryption algorithm.

This “algorithm” does nothing, i.e. it returns the given data as is without encrypting or decrypting it.

See: PDF2.0 s7.6.6

Public Class Methods

decrypt(_key, data)
Alias for: encrypt
decryption_fiber(_key, source)
Alias for: encryption_fiber
encrypt(_key, data)

Just returns the given data.

Also aliased as: decrypt
encryption_fiber(_key, source)

Just returns the given source fiber.

Also aliased as: decryption_fiber