php man page for mcrypt_module_self_test

Query: mcrypt_module_self_test

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MCRYPT_MODULE_SELF_TEST(3)						 1						MCRYPT_MODULE_SELF_TEST(3)

mcrypt_module_self_test - This function runs a self test on the specified module

SYNOPSIS
bool mcrypt_module_self_test (string $algorithm, [string $lib_dir])
DESCRIPTION
This function runs the self test on the algorithm specified.
PARAMETERS
o $algorithm -One of the MCRYPT_ciphername constants, or the name of the algorithm as string. o $lib_dir - The optional $lib_dir parameter can contain the location where the algorithm module is on the system.
RETURN VALUES
The function returns TRUE if the self test succeeds, or FALSE when it fails.
EXAMPLES
Example #1 mcrypt_module_self_test(3) example <?php var_dump(mcrypt_module_self_test(MCRYPT_RIJNDAEL_128)) . " "; var_dump(mcrypt_module_self_test(MCRYPT_BOGUS_CYPHER)); ?> The above example will output: bool(true) bool(false) PHP Documentation Group MCRYPT_MODULE_SELF_TEST(3)
Related Man Pages
isset(3) - php
is_float(3) - php
is_string(3) - php
mysqlnd_qc_get_query_trace_log(3) - php
uopz_flags(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Rules for Homework &amp; Coursework Questions Forum
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Please Welcome Nicki Paul to the Moderator Team!