class-Com.Tecnick.Pdf.Encrypt.Type.AESnopad

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

Com\Tecnick\Pdf\Encrypt\Type\AESnopad

AES no-padding

Namespace: Com\Tecnick\Pdf\Encrypt\Type
Package: PdfEncrypt
Category: Library
Copyright: 2011-2015 Nicola Asuni - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2011-05-23
Link: https://github.com/tecnickcom/tc-lib-pdf-encrypt
Located at Type/AESnopad.php
Methods summary
public string
# encrypt( string $data, string $key, string $ivect = self::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
integer BLOCKSIZE

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-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy