Hash Value Bit Counts

Hash Value Bit Counts

A MD5 hash value is described as a 128 bit value and a SHA-1 hash value is a 160 bit Value. Why are these values assigned to them?


Each is is composed of hexadecimals. Every hexadecimal is composed of 4 bits or half a byte. A MD5 hash value will have 32 alphanumeric characters or hexadecimals. 32 times 4 equals 128. A SHA-1 hash value Is composed of 40 hexadecimals. 40 times 4 is 160.



A hexadecimal can be any number from 0 to 9 or any letter from A to F. it’s well known that bytes are comprised of 0’s and 1’s. The range runs from 0000 0000 to 1111. Hexadecimal represents these values from 00 to FF.



So so the hash value:


d8a7106ad8c28875e2f447be2092b004


Can also be be represented as:

11011000101001110001000001101010110110001100001010001000011101011110001011110100010001111011111000100000100100101011000000000100





1 view

Contact Me With Your Litigation Support Questions:

seankevinoshea@hotmail.com

  • Twitter Long Shadow

© 2015 by Sean O'Shea . Proudly created with Wix.com