DEA192encrypt (String function)

From m204wiki
Revision as of 01:10, 9 March 2016 by JAL (talk | contribs) (add partial content)
Jump to navigation Jump to search

DEA 192-bit key decryption (String class)


This page is under construction.

This method applies the DEA (Data Encryption Algorithm) using a 192-bit symmetric key to encrypt each 64-bit block of input text. For more details about how the algorithm works, see Triple DES.

The length of the returned string is the same as that of the object string.

DEA is a two-way cipher, so encrypting a string with a key and then decrypting the result of that encryption with the same key produces the original string.

Syntax

%outString = string:DEA192encrypt( key) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData

Syntax terms

%outString A string variable to receive the encrypted or decrypted method object string. Its length is the same as string.
string The string to which the method is applied.
key A 24-byte string variable whose value is used to encrypt or decrypt the method object, string.

Usage notes

Examples

See also