<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pitterer</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pitterer"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Pitterer"/>
	<updated>2026-07-06T22:03:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Md5&amp;diff=52459</id>
		<title>Md5</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Md5&amp;diff=52459"/>
		<updated>2017-09-28T22:41:34Z</updated>

		<summary type="html">&lt;p&gt;Pitterer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{Warning|It is strongly recommended to use passwordHash to hash passwords, md5 is easily decodable.}}&lt;br /&gt;
Calculates the MD5 hash of the specified string and returns its hexadecimal representation.&lt;br /&gt;
&lt;br /&gt;
Note: returns an uppercase string, so make sure you string.upper() anything else you are checking against that has been MD5'd elsewhere.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;string md5 ( string str )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''str:''' the string to hash.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the MD5 hash of the input string if successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function md5it (player,command, theString) -- open function&lt;br /&gt;
  if theString then -- check if the string is exist&lt;br /&gt;
    md5string = md5(theString) -- get the md5 string&lt;br /&gt;
    outputChatBox(theString.. &amp;quot; -&amp;gt; &amp;quot; .. md5string , player, 255, 0, 0, false) -- output it&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler (&amp;quot;md5it&amp;quot;, md5it) -- create command&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility functions}}&lt;/div&gt;</summary>
		<author><name>Pitterer</name></author>
	</entry>
</feed>