Our source is open
The syntax highlighted source is automatically generated by PHP from
the plaintext script.
If you're interested in what's behind the several functions we
used, you can always take a look at the source of the following files:
Of course, if you want to see the source
of this page, we have it available.
You can also browse the SVN repository for this website on
svn.php.net.
Source of: /manual/en/book.mcrypt.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.crypto.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'book.mcrypt.php',
1 => 'Mcrypt',
),
'up' =>
array (
0 => 'refs.crypto.php',
1 => 'Cryptography Extensions',
),
'prev' =>
array (
0 => 'function.hash.php',
1 => 'hash',
),
'next' =>
array (
0 => 'intro.mcrypt.php',
1 => 'Introduction',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1 class="title">Mcrypt</h1>
<ul class="chunklist chunklist_book"><li><a href="intro.mcrypt.php">Introduction</a></li><li><a href="mcrypt.setup.php">Installing/Configuring</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="mcrypt.requirements.php">Requirements</a></li><li><a href="mcrypt.installation.php">Installation</a></li><li><a href="mcrypt.configuration.php">Runtime Configuration</a></li><li><a href="mcrypt.resources.php">Resource Types</a></li></ul></li><li><a href="mcrypt.constants.php">Predefined Constants</a></li><li><a href="mcrypt.ciphers.php">Mcrypt ciphers</a></li><li><a href="mcrypt.examples.php">Examples</a></li><li><a href="ref.mcrypt.php">Mcrypt Functions</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.mcrypt-cbc.php">mcrypt_cbc</a> — Encrypt/decrypt data in CBC mode</li><li><a href="function.mcrypt-cfb.php">mcrypt_cfb</a> — Encrypt/decrypt data in CFB mode</li><li><a href="function.mcrypt-create-iv.php">mcrypt_create_iv</a> — Create an initialization vector (IV) from a random source</li><li><a href="function.mcrypt-decrypt.php">mcrypt_decrypt</a> — Decrypts crypttext with given parameters</li><li><a href="function.mcrypt-ecb.php">mcrypt_ecb</a> — Deprecated: Encrypt/decrypt data in ECB mode</li><li><a href="function.mcrypt-enc-get-algorithms-name.php">mcrypt_enc_get_algorithms_name</a> — Returns the name of the opened algorithm</li><li><a href="function.mcrypt-enc-get-block-size.php">mcrypt_enc_get_block_size</a> — Returns the blocksize of the opened algorithm</li><li><a href="function.mcrypt-enc-get-iv-size.php">mcrypt_enc_get_iv_size</a> — Returns the size of the IV of the opened algorithm</li><li><a href="function.mcrypt-enc-get-key-size.php">mcrypt_enc_get_key_size</a> — Returns the maximum supported keysize of the opened mode</li><li><a href="function.mcrypt-enc-get-modes-name.php">mcrypt_enc_get_modes_name</a> — Returns the name of the opened mode</li><li><a href="function.mcrypt-enc-get-supported-key-sizes.php">mcrypt_enc_get_supported_key_sizes</a> — Returns an array with the supported keysizes of the opened algorithm</li><li><a href="function.mcrypt-enc-is-block-algorithm-mode.php">mcrypt_enc_is_block_algorithm_mode</a> — Checks whether the encryption of the opened mode works on blocks</li><li><a href="function.mcrypt-enc-is-block-algorithm.php">mcrypt_enc_is_block_algorithm</a> — Checks whether the algorithm of the opened mode is a block algorithm</li><li><a href="function.mcrypt-enc-is-block-mode.php">mcrypt_enc_is_block_mode</a> — Checks whether the opened mode outputs blocks</li><li><a href="function.mcrypt-enc-self-test.php">mcrypt_enc_self_test</a> — Runs a self test on the opened module</li><li><a href="function.mcrypt-encrypt.php">mcrypt_encrypt</a> — Encrypts plaintext with given parameters</li><li><a href="function.mcrypt-generic-deinit.php">mcrypt_generic_deinit</a> — This function deinitializes an encryption module</li><li><a href="function.mcrypt-generic-end.php">mcrypt_generic_end</a> — This function terminates encryption</li><li><a href="function.mcrypt-generic-init.php">mcrypt_generic_init</a> — This function initializes all buffers needed for encryption</li><li><a href="function.mcrypt-generic.php">mcrypt_generic</a> — This function encrypts data</li><li><a href="function.mcrypt-get-block-size.php">mcrypt_get_block_size</a> — Get the block size of the specified cipher</li><li><a href="function.mcrypt-get-cipher-name.php">mcrypt_get_cipher_name</a> — Get the name of the specified cipher</li><li><a href="function.mcrypt-get-iv-size.php">mcrypt_get_iv_size</a> — Returns the size of the IV belonging to a specific cipher/mode combination</li><li><a href="function.mcrypt-get-key-size.php">mcrypt_get_key_size</a> — Get the key size of the specified cipher</li><li><a href="function.mcrypt-list-algorithms.php">mcrypt_list_algorithms</a> — Get an array of all supported ciphers</li><li><a href="function.mcrypt-list-modes.php">mcrypt_list_modes</a> — Get an array of all supported modes</li><li><a href="function.mcrypt-module-close.php">mcrypt_module_close</a> — Close the mcrypt module</li><li><a href="function.mcrypt-module-get-algo-block-size.php">mcrypt_module_get_algo_block_size</a> — Returns the blocksize of the specified algorithm</li><li><a href="function.mcrypt-module-get-algo-key-size.php">mcrypt_module_get_algo_key_size</a> — Returns the maximum supported keysize of the opened mode</li><li><a href="function.mcrypt-module-get-supported-key-sizes.php">mcrypt_module_get_supported_key_sizes</a> — Returns an array with the supported keysizes of the opened algorithm</li><li><a href="function.mcrypt-module-is-block-algorithm-mode.php">mcrypt_module_is_block_algorithm_mode</a> — Returns if the specified module is a block algorithm or not</li><li><a href="function.mcrypt-module-is-block-algorithm.php">mcrypt_module_is_block_algorithm</a> — This function checks whether the specified algorithm is a block algorithm</li><li><a href="function.mcrypt-module-is-block-mode.php">mcrypt_module_is_block_mode</a> — Returns if the specified mode outputs blocks or not</li><li><a href="function.mcrypt-module-open.php">mcrypt_module_open</a> — Opens the module of the algorithm and the mode to be used</li><li><a href="function.mcrypt-module-self-test.php">mcrypt_module_self_test</a> — This function runs a self test on the specified module</li><li><a href="function.mcrypt-ofb.php">mcrypt_ofb</a> — Encrypt/decrypt data in OFB mode</li><li><a href="function.mdecrypt-generic.php">mdecrypt_generic</a> — Decrypt data</li></ul></li></ul></div><?php manual_footer(); ?>