This depends on what kind of data your migrating and how it is encoded.
For example if it is base64 encoded data, you can decode it with the base64decode javascript action from the community commons module.
If it is encrypted with a key and it is a string value you can decrypt it with the decryptstring java scripty action from the encryption module(if you have the encryption string).
Hope this helps!