Difference between revisions of "DES3 DECRYPT()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 38: | Line 38: | ||
[[Category:Lianja VFP Extensions]] | [[Category:Lianja VFP Extensions]] | ||
[[Category:VFP Function Extensions]] | [[Category:VFP Function Extensions]] | ||
− | [[Category:Lianja | + | [[Category:Lianja v3.0]] |
Revision as of 05:02, 26 July 2016
Contents
Purpose
Function to return the decrypted character string from a 3DES encrypted character value
Syntax
DES3_DECRYPT(<cExp>, <cKey1> [, <cKey2> [, <cKey3>]])
See Also
CRC32(), DES3_ENCRYPT(), DECRYPT, ENCRYPT, MD5(), MD5FILE(), RTOS(), SHA1(), SHA1FILE(), SET ENCRYPTION, SYS()
Description
The DES3_DECRYPT() function is used to return the decrypted character string from the 3DES encrypted character value, <cExp>, based on the specified key or keys <cKey1>, <cKey2>, <cKey3>.
Used with the same key or keys, the DES3_ENCRYPT() function will return the encrypted value.
Keywords | Description |
---|---|
cExp | Character expression to be decrypted. |
cKey1 | Character expression to use as the first decryption key. Maximum 8 characters. |
cKey2 | Character expression to use as the second decryption key. Maximum 8 characters. Optional. |
cKey3 | Character expression to use as the third decryption key. Maximum 8 characters. Optional. |
This function was added in Lianja 2.0.2.
Example
cEncrypted = des3_encrypt("LIANJA","abcdEFGH","ijklm123","45673$%^") cDecrypted = des3_decrypt(cEncrypted,"abcdEFGH","ijklm123","45673$%^")