GlideEncrypter - decrypt(String encryptedString)

Decrypts a clear string using the Triple DES algorithm.

Table 1. Parameters
Name Type Description
encryptedString String String to be decrypted.
Table 2. Returns
Type Description
String Clear text string.
var encr = new GlideEncrypter(); 
var clearString = 'abcdefg'; 
var encrString = encr.encrypt(clearString);
var decrString = encr.decrypt(encrString);  
gs.print("Decrypted string = " + decrString);
Output:
Decrypted string = abcdefg