Skip to content

Commit

Permalink
fixed and aligned Magic ID to match everywhere.
Browse files Browse the repository at this point in the history
  • Loading branch information
metabit-JW committed May 15, 2023
1 parent 9cdac16 commit c050725
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ private static int calculateNumberOfBlocksOverall(final int payloadLengthInBytes
}

// --- class constants ---
final static byte[] MAGIC_ID_VERSION_1_0 = {0x3E, 0x7A, (byte) 0xB1, 0x7C, 0x5A, (byte) 0xFE, (byte) 0xE4, 0x10}; // 0x3E7AB17C5AFEE410L
final static byte[] MAGIC_ID_VERSION_1_0 = {0x3E, 0x7A, (byte) 0xB1, 0x70, 0x5A, (byte) 0xFE, (byte) 0xE4, 0x10}; // 0x3E7AB1705AFEE410L
private static final int MAGIC_ID_LENGTH = 8;
public final static int NONCE_SIZE = 4; // 4 byte.
final static int PAYLOAD_LENGTH_SIZE = 4; // 4 byte.
Expand Down

0 comments on commit c050725

Please sign in to comment.