mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 10:08:54 +00:00
Change Parity of Scrambler
This commit is contained in:
@@ -26,7 +26,7 @@ public class XORScrambleStream extends FilterOutputStream {
|
||||
xorStream = new SeedInputStream(seed ^ id);
|
||||
out.write((byte) (id >> 8));
|
||||
out.write((byte) id);
|
||||
write(209); // parity/sanity
|
||||
write((int) (seed >> 48) & 0xFF); // parity/sanity
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user