BlueScreen Posted February 26, 2006 Share Posted February 26, 2006 Hi all, I was wondering how can I calculate using AutoIt the checksum of the code below? Is there a way? 0000: 2222 4432 0000 4499 0000 0000 1234 0002 0008: 1234 1241 AAAA 6666 3333 2222 1111 CCCC 0010: 1234 1241 AAAA 6666 3333 2222 1111 CCCC 0018: 1234 1241 AAAA BBBB 3333 2222 1111 CCCC 0020: 1234 1241 AAAA 6666 3333 2222 1111 CCCC 0028: 1234 1241 AAAA 6666 3333 2222 1111 CCCC 0030: 1234 1241 AAAA 6666 BBBB 2222 1111 CCCC 0038: 1234 1241 AAAA 6666 3333 2222 1111 CCCC 0040: 3333 1241 AAAA 6666 3333 2222 1111 CCCC 0048: 1234 1241 AAAA 6666 BBBB 2222 1111 CCCC 0050: 1234 1241 AAAA 6666 3333 AAAA 1111 CCCC Regards and thanks, Link to comment Share on other sites More sharing options...
Azu Posted February 26, 2006 Share Posted February 26, 2006 (edited) I made a script of checking checksums.. #include <string.au3> HotKeySet("!{F4}", "_Exit") HotKeySet("{ESC}", "_Checksum") $a="";Put in checksum here $b=" ";Put in checksum here $c=" ";Put in checksum here $d="";Put in checksum here MsgBox(0, $a&$b&$c&$d, "Press ESC to checksum") Func _Checksum() $checksum = PixelChecksum($a,$b,$c,$d) ClipPut($checksum) MsgBox(0, $a&$b&$c&$d, $checksum) EndFunc Func _Exit() Exit EndFunc Edited February 26, 2006 by Azu Link to comment Share on other sites More sharing options...
BlueScreen Posted February 26, 2006 Author Share Posted February 26, 2006 (edited) Thanks, Azu, I cannot see how I can use PixelChecksum for calculating the CheckSum of the posed sample code... Edited February 26, 2006 by BlueScreen Link to comment Share on other sites More sharing options...
Azu Posted February 26, 2006 Share Posted February 26, 2006 It will give you the checksum of the area you put in Link to comment Share on other sites More sharing options...
w0uter Posted February 26, 2006 Share Posted February 26, 2006 there are lots of checksums what kind do you want ? do you just want to 'add' the dwords to eachother ? or do you want some kind of algoritm ? My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
BlueScreen Posted February 27, 2006 Author Share Posted February 27, 2006 (edited) Thanks, wOuter, The issues is that Im not sure, but refer to the code below. The checksum should be DB98 on the last word. If you put this value there the Checksum will be ZERO. My purpose is to find this checksum Thanks, 0000: 1234 1234 0000 0000 0000 0000 0000 0000 Edited February 27, 2006 by BlueScreen Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now