downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

openssl_csr_export_to_file> <Funciones de OpenSSL
[edit] Last updated: Fri, 17 May 2013

view this page in

openssl_cipher_iv_length

(PHP 5 >= PHP 5.3.3)

openssl_cipher_iv_lengthObtener la longitud del IV de Cipher

Descripción

int openssl_cipher_iv_length ( string $method )

Obtiene la longitud del IV de Cipher.

Parámetros

method

El método.

Valores devueltos

Devuelve la longitud de cipher en caso de éxito, o FALSE en caso de fallo.

Errores/Excepciones

Emite un error de nivel E_WARNING cuando el algoritimo Cipher no es conocido.

Ejemplos

Ejemplo #1 Ejemplo de openssl_cipher_iv_length()

<?php
$método 
'AES-128-CBC';
$longitud_iv openssl_cipher_iv_length($método);

echo 
$longitud_iv;
?>

El resultado del ejemplo sería algo similar a:

16


add a note add a note User Contributed Notes openssl_cipher_iv_length - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites