Table of contents
Namespace: Com\Tecnick\Pdf\Encrypt\Type
File: AES.php line 36
AES
Tags
- since: 2011-05-23
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2011-2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-pdf-encrypt
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
- throws: Exception
Return values
string —
encrypted text