thank you very much for that link!
The lack of a bitwise AND operation in Workflow means I have to write my own using who knows what nightmarish mountain of code. That is going to be fun. I may end up with using a technique that I've used before and precompute a lookup table of some sort to vastly speed up things.