Table of contents
Namespace: Com\Tecnick\Pdf\Encrypt\Type
class AESThirtytwo
Source: src/Type/AESThirtytwo.php:35
AESThirtytwo 32 bytes = 256 bit
Methods
encrypt()
Encrypt the data using OpenSSL
public encrypt(string $data, string $key): string
Parameters:
$data(string): Data string to encrypt$key(string): Encryption key
Returns: string: encrypted text
Throws:
Source: src/Type/AESThirtytwo.php:47