-1
$\begingroup$

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

$\endgroup$

closed as unclear what you're asking by Maarten Bodewes May 7 at 3:46

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\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 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 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.

$\endgroup$