openssl_cipher_iv_length(3) php man page | unix.com

Man Page: openssl_cipher_iv_length

Operating Environment: php

Section: 3

OPENSSL_CIPHER_IV_LENGTH(3)						 1					       OPENSSL_CIPHER_IV_LENGTH(3)

openssl_cipher_iv_length - Gets the cipher iv length

SYNOPSIS
int openssl_cipher_iv_length (string $method)
DESCRIPTION
Gets the cipher initialization vector (iv) length.
PARAMETERS
o $method - The cipher method, see openssl_get_cipher_methods(3) for a list of potential values.
RETURN VALUES
Returns the cipher length on success, or FALSE on failure.
ERRORS
/EXCEPTIONS Emits an E_WARNING level error when the cipher algorithm is unknown.
EXAMPLES
Example #1 openssl_cipher_iv_length(3) example <?php $method = 'AES-128-CBC'; $ivlen = openssl_cipher_iv_length($method); echo $ivlen; ?> The above example will output something similar to: 16 PHP Documentation Group OPENSSL_CIPHER_IV_LENGTH(3)
Related Man Pages
ssl_cipher_get_bits(3) - redhat
ssl_cipher_get_version(3) - osx
openssl_decrypt(3) - php
mcrypt_encrypt(3) - php
mcrypt_get_key_size(3) - php
Similar Topics in the Unix Linux Community
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
Denial Of Service Attack Update
Please Welcome Nicki Paul to the Moderator Team!