How can I retrieve the unencrypted value of data that is encrypted in a Configuration Parameter?

I have a script that needs to retrieve sensitive information encrypted within a configuration parameter. However, I am unable to decrypt it. How can I decrypt the parameter to access its original value?