
Syndrome Nagra2 cards, AVR-X Nagra2 cards
CALCULATING THE HASH RANGES FROM A CMD82
BY EXECV
Before I start this tutorial, i would suggest you reading huclass07 first.
I will be disassembling cmd82's, and in huclass07 it shows you how. Ok,
enough small talk, let's go!
This is our WONDERFUL hashchart. I suggest you save this into a file.
It is useful:
2D4C: 22F2 008B
2D50: 23D5 0031
2D54: 2698 007A
2D58: 2711 03BD
2D5C: 2CD0 0010
2D60: 2CE8 0064
2D64: 2D4C 0040
2D68: 2D8C 002B
2D6C: 2F08 0132
2D70: 3039 011E
2D74: 3159 07E1
2D78: 393D 060B
2D7C: 3F58 0010
2D80: 3F88 0077
2D84: 3FFF 0001
2D88: 3FFF 0001
Ok, now, let's say our cmd82 looks something like this:
820A000642 0080 9A2AF9FFF9
Let's disassemble that:
82 -> cmd82
0A -> Length
0006 -> DSW
42 -> Key
00 80 -> HASH RANGE
9A2A .... -> code
ok, let's focus on the hash range. Convert the hash range into binary:
Hex Binary
00 80 0000000010000000
Now, we start counting down on the hash chart using our binary number
for our hash range. 0 = do not hash. 1 = hash. So:
Hash Chart 00 80 In Binary
2D4C: 22F2 008B 0
2D50: 23D5 0031 0
2D54: 2698 007A 0
2D58: 2711 03BD 0
2D5C: 2CD0 0010 0
2D60: 2CE8 0064 0
2D64: 2D4C 0040 0
2D68: 2D8C 002B 0
2D6C: 2F08 0132 1
2D70: 3039 011E 0
2D74: 3159 07E1 0
2D78: 393D 060B 0
2D7C: 3F58 0010 0
2D80: 3F88 0077 0
2D84: 3FFF 0001 0
2D88: 3FFF 0001 0
There, we see the ONLY line with a 1 next to it is 2F08 - 0132. So, 2F08-0132
is our hash area for that cmd.
Let's try another:
8215000642 10F0 F100C0F1FF632B7DD070222AB21B2AF9
82 -> cmd82
15 -> Length
0006 -> DSW
42 -> Key
10F0 -> HASH RANGE
F100 .... -> code
So, our hash range is 10F0, let's convert that to binary again:
Hex Binary
10F0 0001000011110000
There, now let's pop out our hashchart:
Hash Chart 10F0 In Binary
2D4C: 22F2 008B 0
2D50: 23D5 0031 0
2D54: 2698 007A 0
2D58: 2711 03BD 1
2D5C: 2CD0 0010 0
2D60: 2CE8 0064 0
2D64: 2D4C 0040 0
2D68: 2D8C 002B 0
2D6C: 2F08 0132 1
2D70: 3039 011E 1
2D74: 3159 07E1 1
2D78: 393D 060B 1
2D7C: 3F58 0010 0
2D80: 3F88 0077 0
2D84: 3FFF 0001 0
2D88: 3FFF 0001 0
There, now, let's see which lines have a 1 at them:
2711-03BD, 2F08-0132, 3039-011E, 3159-07E1 and 393D-060B
There, see how easy that was!
|