Difference between revisions of "Lua:stringToMD5String"

From Cheat Engine
Jump to navigation Jump to search
(Created page with "Category:Lua '''function''' stringToMD5String(''String'') ''':''' string Returns an MDd5 hash string from the provided string. === Function Parameters === {|width="85%"...")
 
m (Added CodeBox Template.)
 
Line 1: Line 1:
 
[[Category:Lua]]
 
[[Category:Lua]]
'''function''' stringToMD5String(''String'') ''':''' string
+
{{CodeBox|'''function''' stringToMD5String(''String'') ''':''' string}}
  
 
Returns an MDd5 hash string from the provided string.
 
Returns an MDd5 hash string from the provided string.
Line 16: Line 16:
 
|}
 
|}
  
== Examples ==
+
=== Examples ===
 
Code:
 
Code:
 
   local stringToConvert = 'Cheat Engine to MD5'
 
   local stringToConvert = 'Cheat Engine to MD5'
Line 24: Line 24:
 
   b4887dd7b1db685fa9a48d6572ad939b  
 
   b4887dd7b1db685fa9a48d6572ad939b  
  
== See also ==
+
{{LuaSeeAlso}}
* [[Lua]]
 
* [[Help_File:Script engine|Script engine]]
 
  
 
=== Related Functions ===
 
=== Related Functions ===
* [[Lua:translate|translate]]
+
{{Strings}}
* [[Lua:ansiToUtf8|ansiToUtf8]]
 
* [[Lua:readString|readString]]
 
* [[Lua:writeString|writeString]]
 
* [[Lua:readStringLocal|readStringLocal]]
 
* [[Lua:writeStringLocal|writeStringLocal]]
 
* [[Lua:stringToByteTable|stringToByteTable]]
 
* [[Lua:wideStringToByteTable|wideStringToByteTable]]
 
* [[Lua:byteTableToString|byteTableToString]]
 
* [[Lua:byteTableToWideString|byteTableToWideString]]
 

Latest revision as of 23:36, 4 December 2025

<> Function

function stringToMD5String(String) : string

Returns an MDd5 hash string from the provided string.

Function Parameters[edit]

Parameter Type Description
String string The string to convert

Examples[edit]

Code:

 local stringToConvert = 'Cheat Engine to MD5'
 print(stringToMD5String(stringToConvert))

Output:

 b4887dd7b1db685fa9a48d6572ad939b 

See also[edit]

Lua
Script Engine

Related Functions[edit]

translate
utf8ToAnsi
readString
writeString
readStringLocal
writeStringLocal
stringToByteTable
wideStringToByteTable
byteTableToString
byteTableToWideString