Base64Encode: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{Server client function}} {{New feature/item|9.06056|1.3.5|6056| This function returns the [https://en.wikipedia.org/wiki/Base64 base64] representation of the encrypte...") |
m (moved Base64Encode to Base64encode: It's not Encode, it's encode.) |
Revision as of 14:33, 14 March 2014
Syntax
string base64Encode(string/int data)
Required arguments
- data: The block of data you want to encrypt
Returns
Returns the base64 representation of the encrypted data if the encryption process was successfully completed, false otherwise.
Example
local k = base64Encode("Hello, world!") outputConsole(k) --Output: SGVsbG8sIHdvcmxkIQ==
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