RCFourFive
in package
Com\Tecnick\Pdf\Encrypt\Type\RCFourFive
RC4-40 is the standard encryption algorithm used in PDF format The key length is 5 bytes (40 bits)
Tags
Table of Contents
Methods
- encrypt() : string
- Encrypt the data
Methods
encrypt()
Encrypt the data
public encrypt(string $data,
string $key)
: string
Parameters
- $data : string
-
Data string to encrypt
- $key : string
-
Encryption key
Return values
string —encrypted text