Difference between revisions of "Lua:stringToMD5String"
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 | ||
| − | + | {{LuaSeeAlso}} | |
| − | |||
| − | |||
=== Related Functions === | === Related Functions === | ||
| − | + | {{Strings}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
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 |