Batch appercase hex values

This commit is contained in:
Scott Lahteine
2020-10-09 16:50:17 -05:00
committed by Scott Lahteine
parent 3facf34f5f
commit 7e09160ba3
106 changed files with 7192 additions and 7192 deletions

View File

@ -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