Encr_DecryptNewDES (function reference)

By February 1, 2019June 10th, 2020Online Help, Troi Encryptor Plug-in
Troi Encryptor Plug-in for FileMaker Pro

Encr_DecryptNewDES

Decrypts text using a newDES algorithm and the current crypt key. Specify the correct key first with the function Encr_SetCryptKey.

SyntaxFunction badge

Encr_DecryptNewDES ( switches ; text )

Parameters

switches reserved for future use, leave empty or set to "-Unused"
text the text to decrypt

Returned Result

Data type returned

Text

Result

the decrypted text

Originated in

Troi Encryptor Plug-in 1.2

Compatibility

FileMaker Pro 15 to 19

Considerations

If the current key does not match the key used to encrypt, the text is not decrypted and the input text is returned unchanged.
– AES is a more secure algorithm than NewDES: see Encr_EncryptAES for information on this algorithm.

Example

Set Field [ gErrorCode ; Encr_SetCryptKey (  "-Unused" ; "mySecret" ) ]
If [ gErrorCode = 0 ]
   Set Field [ result ; Encr_Decrypt ( "-Unused" ;  "l’ùé—JtO<=! Û¡\}0Óÿ„]˘¿Cºdè≈ˇ" ) ] 
End If

gives this result: “Hello World”.

Related functionsFunction badge

Encr_Code
Encr_EncryptAES
Encr_EncryptNewDES
Encr_SetCryptKey

Related topics

Troi Encryptor Plug-in online help (overview)


Online Help Page for Troi Encryptor Plug-in for 15 to 19 –> Encr_DecryptNewDES (encrp4261) 2020-0610 16:20:47