RCFourSixteen
in package
Com\Tecnick\Pdf\Encrypt\Type\RCFourSixteen
RC4-40 is the standard encryption algorithm used in PDF format The key length is 16 bytes (128 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