<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alliedmods.net/index.php?action=history&amp;feed=atom&amp;title=Hashers_%28AMX_Mod_X_Scripting%29</id>
	<title>Hashers (AMX Mod X Scripting) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alliedmods.net/index.php?action=history&amp;feed=atom&amp;title=Hashers_%28AMX_Mod_X_Scripting%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Hashers_(AMX_Mod_X_Scripting)&amp;action=history"/>
	<updated>2026-05-07T23:36:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.6</generator>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Hashers_(AMX_Mod_X_Scripting)&amp;diff=10363&amp;oldid=prev</id>
		<title>Arkshine at 18:18, 18 June 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Hashers_(AMX_Mod_X_Scripting)&amp;diff=10363&amp;oldid=prev"/>
		<updated>2017-06-18T18:18:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 18:18, 18 June 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l45&quot; &gt;Line 45:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Natives ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Natives ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{margin|20px 0 15px 0|{{tt|hash_string(const string[], const {{color|green|HashType}}:type, output[], const outputSize)|opt=large}}}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{margin|20px 0 15px 0|{{tt|hash_string(const &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{h:title||&lt;/ins&gt;string&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}}&lt;/ins&gt;[], const {{color|green|HashType}}:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{h:title||&lt;/ins&gt;type&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}}&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{h:title||&lt;/ins&gt;output&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}}&lt;/ins&gt;[], const &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{h:title||&lt;/ins&gt;outputSize&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}}&lt;/ins&gt;)|opt=large}}}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: Generates a hash value (message digest).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: Generates a hash value (message digest).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l63&quot; &gt;Line 63:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 63:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:{{alert|success|Example:|{{tt|new hash[32];&amp;lt;br /&amp;gt;new const message[] &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; &amp;quot;Hello World!&amp;quot;;&amp;lt;br /&amp;gt;new const length &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; hash_string(message, Hash_Md5, hash, charsmax(hash));|opt=nobg}}|opt=full-border}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:{{alert|success|Example:|{{tt|new hash[32];&amp;lt;br /&amp;gt;new const message[] &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; &amp;quot;Hello World!&amp;quot;;&amp;lt;br /&amp;gt;new const length &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; hash_string(message, Hash_Md5, hash, charsmax(hash));|opt=nobg}}|opt=full-border}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{margin|35px 0 15px 0|{{tt|hash_file(const fileName[], const {{color|green|HashType}}:type, output[], const outputSize)|opt=large}}}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{margin|35px 0 15px 0|{{tt|hash_file(const &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{h:title||&lt;/ins&gt;fileName&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}}&lt;/ins&gt;[], const {{color|green|HashType}}:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{h:title||&lt;/ins&gt;type&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}}&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{h:title||&lt;/ins&gt;output&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}}&lt;/ins&gt;[], const &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{h:title||&lt;/ins&gt;outputSize&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}}&lt;/ins&gt;)|opt=large}}}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: Generates a hash value using the contents of a given file.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: Generates a hash value using the contents of a given file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arkshine</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Hashers_(AMX_Mod_X_Scripting)&amp;diff=10362&amp;oldid=prev</id>
		<title>Arkshine at 18:16, 18 June 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Hashers_(AMX_Mod_X_Scripting)&amp;diff=10362&amp;oldid=prev"/>
		<updated>2017-06-18T18:16:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 18:16, 18 June 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__FORCETOC__&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__FORCETOC__&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Languages|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{{PAGENAME}}&lt;/del&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Languages|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Hashers (AMX Mod X Scripting)&lt;/ins&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arkshine</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Hashers_(AMX_Mod_X_Scripting)&amp;diff=10359&amp;oldid=prev</id>
		<title>Arkshine: Added Hashers documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Hashers_(AMX_Mod_X_Scripting)&amp;diff=10359&amp;oldid=prev"/>
		<updated>2017-06-18T17:52:03Z</updated>

		<summary type="html">&lt;p&gt;Added Hashers documentation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__FORCETOC__&lt;br /&gt;
{{Languages|{{PAGENAME}}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== About ==&lt;br /&gt;
&lt;br /&gt;
Hashers provide a way to generate a hash value from a string or file content, available in [https://github.com/alliedmodders/amxmodx/tree/master/plugins/include#L2472-L2495 amxmodx.inc].&lt;br /&gt;
&lt;br /&gt;
{{alert|info|Note:|The following API deprecates {{tt|md5}} and {{tt|md5_file}} natives.|opt=full-border}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
=== Hashes ===&lt;br /&gt;
&lt;br /&gt;
The available [https://github.com/alliedmodders/amxmodx/blob/master/plugins/include/amxconst.inc#L432-L452 {{tt|HashType|opt=nobg}} constants] are:&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|Hash_Crc32}} || {{ns}} Provides {{h:title|Cyclic Redundancy Check 32|CRC32}} hashing&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|Hash_Md5}} || {{ns}} Provides {{h:title|Message Digest 5|MD5}} hashing&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|Hash_Sha1}} || {{ns}} Provides {{h:title|Secure Hash Algorithm 1|SHA1}} hashing&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|Hash_Sha256}} || {{ns}} Provides {{h:title|Secure Hash Algorithm 256|SHA256}} hashing&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|Hash_Sha3_224}} || {{ns}} Provides {{h:title|Secure Hash Algorithm 3|SHA3}} 224 bit hashing&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|Hash_Sha3_256}} || {{ns}} Provides {{h:title|Secure Hash Algorithm 3|SHA3}} 256 bit hashing&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|Hash_Sha3_384}} || {{ns}} Provides {{h:title|Secure Hash Algorithm 3|SHA3}} 384 bit hashing&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|Hash_Sha3_512}} || {{ns}} Provides {{h:title|Secure Hash Algorithm 3|SHA3}} 512 bit hashing&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|Hash_Keccak_224}} || {{ns}} Provides Keccak 224 bit hashing&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|Hash_Keccak_256}} || {{ns}} Provides Keccak 256 bit hashing&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|Hash_Keccak_384}} || {{ns}} Provides Keccak 384 bit hashing&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|Hash_Keccak_512}} || {{ns}} Provides Keccak 512 bit hashing&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Natives ===&lt;br /&gt;
&lt;br /&gt;
{{margin|20px 0 15px 0|{{tt|hash_string(const string[], const {{color|green|HashType}}:type, output[], const outputSize)|opt=large}}}}&lt;br /&gt;
: Generates a hash value (message digest).&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|string}} || {{ns}} String to be hashed.&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|type}} || {{ns}} Type of selected hashing algorithm. See {{tt|Hash_*|opt=nobg}} constants above.&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|output}} || {{ns}} Output string to store hash in.&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|outputSize}} || {{ns}} The maximum size of the output string to store hash in.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
:{{alert|info|Return:|Number of written bytes.|opt=full-border}}&lt;br /&gt;
:{{alert|success|Example:|{{tt|new hash[32];&amp;lt;br /&amp;gt;new const message[] &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; &amp;quot;Hello World!&amp;quot;;&amp;lt;br /&amp;gt;new const length &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; hash_string(message, Hash_Md5, hash, charsmax(hash));|opt=nobg}}|opt=full-border}}&lt;br /&gt;
&lt;br /&gt;
{{margin|35px 0 15px 0|{{tt|hash_file(const fileName[], const {{color|green|HashType}}:type, output[], const outputSize)|opt=large}}}}&lt;br /&gt;
: Generates a hash value using the contents of a given file.&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|fileName}} || {{ns}} Path of file to be hashed.&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|type}} || {{ns}} Type of selected hashing algorithm. See {{tt|Hash_*|opt=nobg}} constants above.&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|output}} || {{ns}} Output string to store hash in.&lt;br /&gt;
|-&lt;br /&gt;
| {{tt|outputSize}} || {{ns}} The maximum size of the output string to store hash in.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
:{{alert|info|Return:|Number of written bytes.|opt=full-border}}&lt;br /&gt;
:{{alert|info|Note:|Path of file is relative to {{tt|$mod/|opt=nobg}} directory.|opt=full-border}}&lt;br /&gt;
:{{alert|success|Example:|{{tt|new hash[32];&amp;lt;br /&amp;gt;new const fileName[] &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; &amp;quot;server.cfg&amp;quot;;&amp;lt;br /&amp;gt;new const length &amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt; hash_file(message, Hash_Md5, hash, charsmax(hash));|opt=nobg}}|opt=full-border}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting_(AMX_Mod_X)]]&lt;/div&gt;</summary>
		<author><name>Arkshine</name></author>
		
	</entry>
</feed>