Skip to content

crypto_cipher_key_length()#

Syntax
crypto_cipher_key_length( ciphername )

Returns#

returns the numeric size, in bytes, or -1 if an invalid “ciphername” is specified.

Parameters#

Parameter Description
ciphername an OpenSSL cipher identifier, such as “aes-128-cbc” or “rc2-ofb”.