Table of contents
Namespace: Com\Tecnick\Pdf\Encrypt\Type
class AESSixteen
Source: src/Type/AESSixteen.php:35
AESSixteen 16 bytes = 128 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/AESSixteen.php:47