TeaDecode

From Multi Theft Auto: Wiki
Revision as of 21:54, 13 May 2014 by Miki785 (talk | contribs) (Created page with "__NOTOC__ {{Server_client function}} {{Needs Example}} {{New feature/item|9.06056|1.3.5|6056| This function decrypts given [https://en.wikipedia.org/wiki/Base64 base64] repres...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Accessories-text-editor.png Script Example Missing Function TeaDecode needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.
ADDED/UPDATED IN VERSION 1.3.5 r6056:

This function decrypts given base64 representation of encrypted data using the Tiny Encryption Algorithm.

Syntax

string teaDecode ( string data, string key )

Required Arguments

  • data: The block of data you want to decrypt
  • key: The key that should be used for decryption

Returns

Returns string containing the decrypted data if the decryption process was successfully completed, false otherwise.

Example

Todo

See Also