Back to OpenSSL class

Method getBlockSize

public int
getBlockSize
()
Returns the encryption block size in bytes
Returns
  • int
Class: OpenSSL
Project: Joomla

Method getBlockSize - Source code

/**
 * Returns the encryption block size in bytes
 *
 * @return  integer
 */
public function getBlockSize()
{
    return openssl_cipher_iv_length($this->method);
}