PageSourceSearch

https://www.functions-online.com/cryptography.html

html functions-online.com collected 2026-10-02 09:54:59 UTC 11,164 bytes, 27 lines download raw bytes

1<!DOCTYPE html><html lang="en"><head><link rel="stylesheet" type="text/css" href="//www.functions-online.com/styles/style.css"/><title>cryptographic PHP functions - functions-online</title><meta charset="UTF-8"/><meta name="keywords" content="cryptography, function, overview, list, php" />�<meta name="description" content="On this site, all cryptography functions of php are listed." />�<meta name="viewport" content="width=device-width"/><meta name="author" content="Jan Bogutzki"/><meta name="generator" content="redFACT 5 CMS, powered by http://www.newsfactory.de"/><link rel="alternate" type="application/rss+xml" title="follow changes on this site" href="http://jan.bogutzki.de/Kategorie/projekte/functions-online/feed"/><link rel="shortcut icon" type="image/icon" href="//www.functions-online.com/favicon.ico"/><!-- Cookie Consent by https://www.FreePrivacyPolicy.com -->
1<script type="text/javascript" src="https://www.freeprivacypolicy.com/public/cookie-consent/4.0.0/cookie-consent.js" charset="UTF-8"></script>
1<script type="text/javascript" charset="UTF-8">
2document.addEventListener('DOMContentLoaded', function () {
3if (typeof cookieconsent !== 'undefined') {cookieconsent.run({"notice_banner_type":"interstitial","consent_type":"express","palette":"dark","language":"en","page_load_consent_levels":["strictly-necessary"],"notice_banner_reject_button_hide":false,"preferences_center_close_button_hide":false,"website_name":"www.functions-online.com"});}
4});
5</script>
5<!-- End Cookie Consent -->
5<script type="text/javascript" defer="defer" src="//www.functions-online.com/js/execute_14.js"></script>
5<script type="text/javascript"></script>
5
6
7<link rel="alternate" href="https://de.functions-online.com/cryptography.html" hreflang="de" /><link rel="alternate" href="https://www.functions-online.com/cryptography.html" hreflang="en" /><link rel="alternate" href="https://es.functions-online.com/cryptography.html" hreflang="es" /><link rel="alternate" href="https://fr.functions-online.com/cryptography.html" hreflang="fr" /><link rel="alternate" href="https://it.functions-online.com/cryptography.html" hreflang="it" /><link rel="alternate" href="https://ja.functions-online.com/cryptography.html" hreflang="ja" /><link rel="alternate" href="https://pt.functions-online.com/cryptography.html" hreflang="pt" /><link rel="alternate" href="https://ru.functions-online.com/cryptography.html" hreflang="ru" /><link rel="alternate" href="https://tr.functions-online.com/cryptography.html" hreflang="tr" /><link rel="alternate" href="https://zh.functions-online.com/cryptography.html" hreflang="zh" /></head><body><div id="head_container"><div id="logoline"><a href="/">functions-online</a><form action="index.php?pageid=94" method="post" name="extendedSearch"><a href="#null" onclick="document.forms.extendedSearch.submit();" class="magnifier"></a><input type="text" name="cosearch" value="" class="cosearch"/><div class="clear"></div></form><div class="clear"></div></div><div id="head"><a href="/" class="sign"></a><nav><ul id="mainnavi"><li><div class="navleft"></div><a href="/array.html">Array</a><div class="navright"></div><div class="clear"></div></li><li><div class="navleft"></div><a href="/cryptography.html">Cryptography</a><div class="navright"></div><div class="clear"></div></li><li><div class="navleft"></div><a href="/date-and-time.html">Date and Time</a><div class="navright"></div><div class="clear"></div></li><li><div class="navleft"></div><a href="/general.html">General</a><div class="navright"></div><div class="clear"></div></li><li><div class="navleft"></div><a href="/mathmatic.html">Math</a><div class="navright"></div><div class="clear"></div></li><li><div class="navleft"></div><a href="/regular-expression.html">Regular Expression</a><div class="navright"></div><div class="clear"></div></li><li><div class="navleft"></div><a href="/string.html">String</a><div class="navright"></div><div class="clear"></div></li><li><div class="navleft"></div><a href="/url.html">URL</a><div class="navright"></div><div class="clear"></div></li></ul><a href="/" onclick="jQuery('#mainnavi').toggle();return false;" id="menu"></a></nav><div class="clear"></div></div></div><div id="outer_container"><div id="container"><div id="content"><div id="left"><strong>Cryptography</strong><ul class="subnavi"><li><a href="/convert_uudecode.html" title="convert_uudecode">convert_uudecode</a></li><li><a href="/convert_uuencode.html" title="convert_uuencode">convert_uuencode</a></li><li><a href="/crc32.html" title="crc32">crc32</a></li><li><a href="/crypt.html" title="crypt">crypt</a></li><li><a href="/generate-password.html" title="generatePassword">generatePassword</a></li><li><a href="/hash.html" title="hash">hash</a></li><li><a href="/md5.html" title="md5">md5</a></li><li><a href="/mhash.html" title="mhash">mhash</a></li><li><a href="/sha1.html" title="sha1">sha1</a></li></ul>
8
9<strong>most used</strong>
10<ul class="subnavi">
11	<li>	<a href="/unserialize.html" title="unserialize">unserialize</a>
12</li><li>	<a href="/preg_match.html" title="preg_match">preg_match</a>
13</li><li>	<a href="/md5.html" title="md5">md5</a>
14</li><li>	<a href="/strlen.html" title="strlen">strlen</a>
15</li><li>	<a href="/json_decode.html" title="json_decode">json_decode</a>
16</li><li>	<a href="/serialize.html" title="serialize">serialize</a>
17</li><li>	<a href="/preg_replace.html" title="preg_replace">preg_replace</a>
18</li><li>	<a href="/date.html" title="date">date</a>
19</li><li>	<a href="/rawurlencode.html" title="rawurlencode">rawurlencode</a>
20</li><li>	<a href="/sha1.html" title="sha1">sha1</a>
21</li>
22</ul></div><div id="middle"><div class="mainbox"><div class="language_tabs"><a href="https://de.functions-online.com/cryptography.html" hreflang="de" title="deutsch" id="tab_de" class="tab">de</a><a href="https://www.functions-online.com/cryptography.html" hreflang="en" title="english" id="tab_en" class="taba">en</a><a href="https://es.functions-online.com/cryptography.html" hreflang="es" title="espa&ntilde;ol" id="tab_es" class="tab">es</a><a href="https://fr.functions-online.com/cryptography.html" hreflang="fr" title="fran&ccedil;ais" id="tab_fr" class="tab">fr</a><a href="https://it.functions-online.com/cryptography.html" hreflang="it" title="italiano" id="tab_it" class="tab">it</a><a href="https://ja.functions-online.com/cryptography.html" hreflang="ja" title="&#26085;&#26412;&#35486;" id="tab_ja" class="tab">ja</a><a href="https://pt.functions-online.com/cryptography.html" hreflang="pt" title="portugu&ecirc;s" id="tab_pt" class="tab">pt</a><a href="https://ru.functions-online.com/cryptography.html" hreflang="ru" title="&#1088;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;" id="tab_ru" class="tab">ru</a><a href="https://tr.functions-online.com/cryptography.html" hreflang="tr" title="t&uuml;rk&ccedil;e" id="tab_tr" class="tab">tr</a><a href="https://zh.functions-online.com/cryptography.html" hreflang="zh" title="&#20013;&#25991;" id="tab_zh" class="tab">zh</a><div class="clear"></div></div><h1>Cryptography</h1><div class="mbcontent"><p>Execute and test PHP functions with a cryptographic background.</p><div><h3><a href="/convert_uudecode.html" title="convert_uudecode">convert_uudecode</a></h3><div class="box"><div><p>convert_uudecode() decodes a uuencoded string.</p></div></div></div><div><h3><a href="/convert_uuencode.html" title="convert_uuencode">convert_uuencode</a></h3><div class="box"><div><p>convert_uuencode() encodes a string using the uuencode algorithm.</p>
23<p>Uuencode translates all strings (including binary's ones) into printable characters, making them safe for network transmissions. Uuencoded data is about 35% larger than the original.</p></div></div></div><div><h3><a href="/crc32.html" title="crc32">crc32</a></h3><div class="box"><div><p>Generates the cyclic redundancy checksum polynomial of 32-bit lengths of the $str. This is usually used to validate the integrity of data being transmitted.</p>
24<p>Because PHP's integer type is signed, and many crc32 checksums will result in negative integers, you need to use the "%u" formatter of sprintf() or printf() to get the string representation of the unsigned crc32 checksum.</p></div></div></div><div><h3><a href="/crypt.html" title="crypt">crypt</a></h3><div class="box"><div><p>crypt() will return an encrypted string using the standard Unix DES-based encryption algorithm or alternative algorithms that may be available on the system.</p>
25<p>If no Salt-Argument is given, PHP randomly generates a new one with every use of the function.</p>
26<p>
26To generate a .htpasswd password, simple copy your password in $str and click on "run". The parameter $salt must not be filled. Now copy the generated password in your .htpasswd file with a : as separator to the username in a new line (username:password).</p></div></div></div><div><h3><a href="/generate-password.html" title="Generate Password">Generate Password</a></h3><div class="box"><div><p>Generate your own password with several options. The number of characters is free adjustable as the used characters, too.</p></div></div></div><div><h3><a href="/hash.html" title="hash">hash</a></h3><div class="box"><div><p>hash() generates a hash value (message digest)</p></div></div></div><div><h3><a href="/md5.html" title="md5">md5</a></h3><div class="box"><div><p>Calculates the MD5 hash of $str using the « RSA Data Security, Inc. MD5 Message-Digest Algorithm » and returns that hash. The MD5 code returns always a string of 32 characters. Every char is given as the hexadecimal equivalent of the calculated MD5 value.</p></div></div></div><div><h3><a href="/mhash.html" title="mhash">mhash</a></h3><div class="box"><div><p>mhash() applies a hash function specified by $hash to the $data.</p></div></div></div><div><h3><a href="/sha1.html" title="sha1">sha1</a></h3><div class="box"><div><p>Calculates the sha1 hash of $str using the « US Secure Hash Algorithm 1 ».</p></div></div></div></div></div></div><div class="clear"></div></div></div></div><div id="footer"><div id="inner_foot"><ul id="footernavi"><li><div class="navleft"></div><a href="/">Home</a><div class="navright"></div></li><li><div class="navleft"></div><a href="http://jan.bogutzki.de/Kategorie/projekte/functions-online">Blog</a><div class="navright"></div></li><li><div class="navleft"></div><a href="https://www.facebook.com/functionsonline/">Facebook Page</a><div class="navright"></div></li><li><div class="navleft"></div><a href="/commentator.html">Comments</a><div class="navright"></div></li><li><div class="navleft"></div><a href="/search.html">Search</a><div class="navright"></div></li><li><div class="navleft"></div><a href="/sitemap.html">Sitemap</a><div class="navright"></div></li><li><div class="navleft"></div><a href="/impressum.html">Imprint</a><div class="navright"></div></li><li><div class="clear"></div><div class="navleft"></div><a href="#" id="open_preferences_center">Cookie Consent</a><div class="navright"></div><div class="clear"></div></li></ul><div id="copy">
27&copy; 2026 Jan Bogutzki | PHP 7.3.27<br/>cryptographic PHP functions - functions-online</div></div></div><!--SERVERSTATUS--></body></html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.