Related to the topic in question Is it possible to save a value to a session cookie and access it via a function?
It would be very beneficial when doing encryption/decryption to have the process actions as also functions to be used inside of views/IOF etc… so it is easier to view and modify sensitive data.
Please go throught the Topic to get more details on the need of the above.