TeaDecode

From Multi Theft Auto: Wiki
Revision as of 18:14, 22 July 2014 by Ccw (talk | contribs)
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 (Only first 16 characters are used)

Returns

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

Example

Todo

See Also

Shared