-1
$\begingroup$

Is it ever possible for a hash to have more than 8 digits in SHA-256?

$\endgroup$
  • $\begingroup$ What do you mean 'have more than 8 digits'? Have more than eight characters between '0' and '9' when expressed in hex? $\endgroup$ – poncho May 6 '19 at 23:38
  • $\begingroup$ Can the actual hash itself be more than 8 digits in length; ex. Is 6a09e667b possible, having a 9 digit length? $\endgroup$ – user69001 May 6 '19 at 23:45
1
$\begingroup$

A SHA-256 hash always has exactly 256 bits of output. That is 32 bytes, or 64 hex characters long. For example the text "abc" has the hash "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad".

Thus, a SHA-256 hash will always have more than 8 ASCII characters of output.

| improve this answer | |
$\endgroup$