Batch appercase hex values

This commit is contained in:
Scott Lahteine committed 2020-10-16 16:39:54 -05:00
1 parent 454f9d6319
commit 5070fae231
106 files changed
+7192 -7192

No files matched your search

@@ -32,7 +32,7 @@ def xor_block(r0, r1, block_number, block_size, file_key):
key_length = 0x18
# This is an initial seed
xor_seed = 0x4bad
xor_seed = 0x4BAD
# This is the block counter
block_number = xor_seed * block_number
@@ -77,7 +77,7 @@ def encrypt_file(input, output_file, file_length):
uid_value = uuid.uuid4()
file_key = int(uid_value.hex[0:8], 16)
xor_crc = 0xef3d4323;
xor_crc = 0xEF3D4323;
# the input file is exepcted to be in chunks of 0x800
# so round the size