Forum Discussion
player_72606
Oct 20, 2013Nimbostratus
Hi all,
first of all, great job on this one, works flawlessly 🙂 i'm trying to understand couple of things here, and i would appreciate your help ,I could not understand what are the following steps are needed :
set md5me [binary format cH2SH32H$static::secretlen $code $ident $len $auth $static::secrethex]
running the MD5
set ResponseAuthRaw [ md5 $md5me]
doing some string to binary conversion, i am sure i can avoid this, need to optimize it
binary scan $ResponseAuthRaw H* ResponseAuth
crafting the response packet
set packetdata [binary format cH2SH32 $code $ident $len $ResponseAuth]