I love to see how this discussion will go.
I have asked for decryption in this post: Password Decryption - IdentityNow (IDN) / IDN Discussion and Questions - SailPoint Developer Community Forum
Now it’s encryption turn by @iamnithesh
If either encryption/decryption is available then we can achieve the other one as well using some intelligent coding with infinite loops.