Base64Decode: Difference between revisions
Jump to navigation
Jump to search
m (fix) |
mNo edit summary |
||
Line 7: | Line 7: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
string | string base64Decode(string data) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 18: | Line 18: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
local k = | local k = base64Decode("SGVsbG8sIHdvcmxkIQ==") | ||
outputConsole(k) | outputConsole(k) | ||
--Output: Hello, world! | --Output: Hello, world! |
Revision as of 14:39, 14 March 2014
Syntax
string base64Decode(string data)
Required arguments
- data: The block of data you want to decrypt
Returns
Returns the decrypted data from base64 representation of the encrypted block if the decryption process was successfully completed, false otherwise.
Example
local k = base64Decode("SGVsbG8sIHdvcmxkIQ==") outputConsole(k) --Output: Hello, world!
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