It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Class AESnopad


AES no-padding

Namespace: Com\Tecnick\Pdf\Encrypt\Type
Package: PdfEncrypt
Category: Library
Copyright: 2011-2015 Nicola Asuni - LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni [email protected]
Since: 2011-05-23
Located at Type/AESnopad.php
Methods summary
public string
# encrypt( string $data, string $key, string $ivect = Com\Tecnick\Pdf\Encrypt\Type\AESnopad::IVECT, string $mode = 'aes-256-cbc' )

Encrypt the data

protected string
# pad( string $data, integer $length, string $ivect,… )

Pad the input string to the specified length (RFC 2898, PKCS #5: Password-Based Cryptography Specification Version 2.0)

Constants summary

Block size (IV length): openssl_cipher_iv_length('aes-256-cbc')

# 16
string IVECT

Initialization Vector (16 bytes)

# "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"

? 2004-2019 – Nicola Asuni - - All rights reserved.
about - disclaimer - privacy