CryptInterface
in
Symmetric cipher contract for PDF stream/string encryption.
The key is derived externally by PdfKeyDerivation — implementations only handle the raw encrypt/decrypt with a pre-derived key.
Table of Contents
Methods
Methods
decrypt()
public
decrypt(string $data, string $key) : string
Parameters
- $data : string
- $key : string
Return values
stringencrypt()
public
encrypt(string $data, string $key) : string
Parameters
- $data : string
- $key : string