View difference between Paste ID: u2TR5uyD and E7MVmDBh
SHOW: | | - or go back to the newest paste.
1
"
2
Security:
3-
-> Custom SHA1
3+
-> Custom CRC-32
4-
   -> Offset: 8
4+
   -> Offset: 12
5-
   -> Calculation Start: 32
5+
   -> Calculation Start: 16
6-
   -> Calculation Length: See Code
6+
   -> Calculation Length: Stored before the CRC-32
7
8
Additional:
9-
The SHA1 hash is moved to a buffer with the size of 24 bytes.
9+
Each TitleSpecifc has it's own CRC-32.
10-
After that the 3 UInt64 parts of the buffer are combined using XOR.
10+
11
Polynomial: 0x04C11DB7
12
Initial Value: 0
13-
byte[] data = File.ReadAllBytes(fileName);
13+
Reflection: None
14
XOR Out: 0
15-
using (var r = new Reader(data, Endian.BIG)) {
15+
"