Method to encrypt or decrypt value in SailPoint

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 

//This will decrypt the encypted value