There are so many times when we have to encrypt or decrypt the value in Sailpoint. We will see how any value can be encrypted or decrypted in SailPoint.
context.encrypt() method is used to encrypt any value in SailPoint.
context.decrypt() method is used to decrypt any encrypted value in SailPoint.
//This will encrypt the value
context.encrypt("12345");
//This will decrypt the encypted value
context.decrypt("2:ACP:hghbbkj12knn2j3b2kl1k3bk");