AES

AES API reference

Table of contents

Namespace: Com\Tecnick\Pdf\Encrypt\Type

File: AES.php line 36

AES

Tags

Methods

encrypt()

File: AES.php line 49

public encrypt(string $data, string $key[, string $mode = '' ]) : string

Parameters

  • $data : string: Data string to encrypt
  • $key : string: Encryption key
  • $mode : string = ‘’: Cipher

Tags

Return values

string —

encrypted text