Phil, Your final version of the script ended up winning the speed race. See my note to Ken. Thanks to everyone for pitching in. That was fun. Forced me to learn a bit about baseConvert and binaryEncode/Decode