RCFourFive

RC4-40 is the standard encryption algorithm used in PDF format The key length is 5 bytes (40 bits)

Table of contents

Namespace: Com\Tecnick\Pdf\Encrypt\Type

File: RCFourFive.php line 35

RC4-40 is the standard encryption algorithm used in PDF format The key length is 5 bytes (40 bits)

Tags

Methods

encrypt()

File: RCFourFive.php line 47

public encrypt(string $data, string $key) : string

Parameters

  • $data : string: Data string to encrypt
  • $key : string: Encryption key

Tags

Return values

string —

encrypted text