Md5: Difference between revisions
Jump to navigation
Jump to search
(New page: __NOTOC__ {{Server client function}} Calculates the MD5 hash of the specified string and returns its hexadecimal representation. ==Syntax== <syntaxhighlight lang="lua">string md5 ( string str )</syntaxhighlight> =...) |
No edit summary |
||
Line 3: | Line 3: | ||
Calculates the MD5 hash of the specified string and returns its hexadecimal representation. | Calculates the MD5 hash of the specified string and returns its hexadecimal representation. | ||
Note: returns an uppercase string, so make sure you string.upper() anything else you are checking against that has been MD5'd elswhere. | |||
==Syntax== | ==Syntax== |
Revision as of 10:59, 9 January 2009
Calculates the MD5 hash of the specified string and returns its hexadecimal representation. Note: returns an uppercase string, so make sure you string.upper() anything else you are checking against that has been MD5'd elswhere.
Syntax
string md5 ( string str )
Required Arguments
- str: the string to hash.
Returns
Returns the MD5 hash of the input string if successful, false otherwise.
See Also
- addDebugHook
- base64Decode
- base64Encode
- debugSleep
- decodeString
- encodeString
- fromJSON
- generateKeyPair
- getColorFromString
- getDevelopmentMode
- getDistanceBetweenPoints2D
- getDistanceBetweenPoints3D
- getEasingValue
- getNetworkStats
- getNetworkUsageData
- getPerformanceStats
- getRealTime
- getTickCount
- getTimerDetails
- getTimers
- getFPSLimit
- getUserdataType
- getVersion
- gettok
- isTransferBoxVisible
- setTransferBoxVisible
- hash
- inspect
- interpolateBetween
- iprint
- isOOPEnabled
- isTimer
- killTimer
- md5
- passwordHash
- passwordVerify
- pregFind
- pregMatch
- pregReplace
- removeDebugHook
- resetTimer
- setDevelopmentMode
- setFPSLimit
- setTimer
- ref
- deref
- sha256
- split
- teaDecode
- teaEncode
- toJSON
- tocolor
- getProcessMemoryStats
- utfChar
- utfCode
- utfLen
- utfSeek
- utfSub
- bitAnd
- bitNot
- bitOr
- bitXor
- bitTest
- bitLRotate
- bitRRotate
- bitLShift
- bitRShift
- bitArShift
- bitExtract
- bitReplace