Difference between revisions of "Cryptography.md5"

From GiderosMobile
(----)
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
=== Description ===
 
=== Description ===
Compute the MD5 hash of the input string.
+
Computes the MD5 hash of the input string.
 
+
<syntaxhighlight lang="lua">
<source lang="lua">
 
 
(string) = Cryptography.md5(input)
 
(string) = Cryptography.md5(input)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===
'''input''': (string) String whose content is to be hashed <br/>
+
'''input''': (string) string whose content is to be hashed<br/>
  
 
=== Return values ===
 
=== Return values ===
 
'''Returns''' (string) MD5 hash (a 16 byte string)<br/>
 
'''Returns''' (string) MD5 hash (a 16 byte string)<br/>
  
----
+
{{Cryptography}}
{{Special:PrefixIndex/Cryptography}}
 
<br/>
 

Latest revision as of 14:26, 13 July 2023

Available since: Gideros 2016.04
Class: Cryptography

Description

Computes the MD5 hash of the input string.

(string) = Cryptography.md5(input)

Parameters

input: (string) string whose content is to be hashed

Return values

Returns (string) MD5 hash (a 16 byte string)