Base64Decode

From Multi Theft Auto: Wiki
Revision as of 14:05, 14 March 2014 by SDraw (talk | contribs) (Created page with "__NOTOC__ {{Server client function}} {{New feature/item|9.06056|1.3.5|6056| This function returns the decrypted data from [https://en.wikipedia.org/wiki/Base64 base64] representa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 = base64Encode("SGVsbG8sIHdvcmxkIQ==")
outputConsole(k)
--Output: Hello, world!

See Also