Base64Decode: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
m (moved Base64decode to Base64Decode over redirect: It's 'Decode'. Try in any script before editing.)
(No difference)

Revision as of 14:43, 14 March 2014

ADDED/UPDATED IN VERSION 1.3.5 r6056:

This function returns the decrypted data from base64 representation of the encrypted block

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