Sign in to follow this  
Followers 0
BlueScreen

Checksum

6 posts in this topic

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,

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by Azu

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Thanks, Azu,

I cannot see how I can use PixelChecksum for calculating the CheckSum of the posed sample code... :o

Edited by BlueScreen

Share this post


Link to post
Share on other sites

It will give you the checksum of the area you put in

Share this post


Link to post
Share on other sites

#6 ·  Posted (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 by BlueScreen

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0