Hi
unfortunately not. Since this was only for a prototype I just moved the crypto functionality outside of the XS engine.
I got another reply via e-mail from a colleague who figured out that the javascript interpreter does not support the "|=" operator. He managed to fix this by replacing all the x |= y with x = x | y.
However I'm not quite sure how feasible this is in general.
What I'm more worried about is that there is absolutely no answer in the community for this simple question for more than 6 months.
Best regards
Vasil