← All docs

openssl_cipher_iv_length()

Returns the IV length for a supported cipher.

openssl_cipher_iv_length()

function openssl_cipher_iv_length(string $cipher_algo): mixed

Returns the IV length for a supported cipher.

Parameters:

  • $cipher_algo (string)

Returns: mixed

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how openssl_cipher_iv_length is implemented in the compiler, see the internals page.