Hex and binary go hand in hand.What if I used a raw binary hash?
Look at any decimal number - say 19382 for the sake of randomness.
19382 in binary is:
0100 1011 1011 0110
Now, take every individual portion of 4 bits and turn it into a number:
11 in Hex is B.
So, the number is 4BB6.
So basically, storing it in hex and binary would have the same result but with the latter would require more space presumably.