Oops, got it working on Jade7.0, then realised I shouldn't use an Integer64 parameter on Jade6.3 (32bit) system.
Thanks so much for all your help, with a bit of luck I'm hoping to be able to follow your tips and generate the HMAC function, then I'm away