You could use crypto.js and invoke the functions you need using flows. I use it for several processes on sites I have built and it works well. It would, however, be great if it could be added to the data formatter on the client-side - you could vote for the feature request here: