Hi,
I've seen you've already made a tool to convert q3key to pb_guid, maybe you would be interessted by mine.
The difference are the ctx initialization is different and the hash is applied on the 16 first byte of the key in lower case.
http://www.indahax.com/?p=4
bb