|
|
Line 1: |
Line 1: |
| {{Template:String:DEA192encrypt subtitle}}
| | #REDIRECT [[DEA192decrypt and DEA192encrypt (String functions)]] |
| | |
| 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 [https://en.wikipedia.org/wiki/Triple_DES 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==
| |
| {{Template:String:DEA192encrypt syntax}}
| |
| | |
| ===Syntax terms===
| |
| <table>
| |
| <tr><th>%outString</th>
| |
| <td>A string variable to receive the encrypted or decrypted method object <var class="term">string</var>. Its length is the same as <var class="term">string</var>.</td></tr>
| |
| | |
| <tr><th>string</th>
| |
| <td>The string to which the method is applied.</td></tr>
| |
| | |
| <tr><th>key</th>
| |
| <td>A 24-byte string variable whose value is used to encrypt or decrypt the method object, <var class="term">string</var>.</td></tr>
| |
| </table>
| |
| | |
| ==Usage notes==
| |
| | |
| ==Examples==
| |
| | |
| ==See also==
| |
| <ul>
| |
| <li><var>[[DEA64encrypt (String function)|DEA64encrypt]]</var> </li>
| |
| | |
| <li><var>[[DEA128encrypt (String function)|DEA128encrypt]]</var> </li>
| |
| </ul>
| |
| | |
| {{Template:String:DEA192encrypt footer}}
| |