Sha256: Difference between revisions
Jump to navigation
Jump to search
m (remove note box) |
m (Добавление языков) |
||
Line 33: | Line 33: | ||
==See Also== | ==See Also== | ||
{{Utility functions}} | {{Utility functions}} | ||
[[en:sha256]] | |||
[[ru:sha256]] |
Revision as of 16:29, 12 April 2021
Tip:
|
Calculates the sha256 hash of the specified string.
Syntax
string sha256 ( string str )
Required Arguments
- str: the string to hash.
Returns
Returns the sha256 hash of the input string if successful, false otherwise.
Requirements
This template will be deleted.
Example
addCommandHandler ( "sha", -- Create a command function ( thePlayer, command, input ) if ( input ) then -- Check if the string exist local sha256hash = sha256( input ) -- Generate the hash outputChatBox( sha256hash ) -- Output the hash in the chat end end )
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