25

I have been looking all over google to find what the hex output of a SHA256 hash looks like. But I just can't seem to find it.

So what does a SHA256 hash look like when it's converted to hexadecimal?

Tomáš Zato
  • 50,171
  • 52
  • 268
  • 778
Simon Verbeke
  • 2,905
  • 8
  • 36
  • 55

1 Answers1

47

A SHA256 hash represented in hexadecimal consists of 64 hexadecimal characters, i.e. it matches the following regex:

^[A-Fa-f0-9]{64}$

Example:

7f83b1657ff1fc53b92dc18148a1d65dfc2d4b1fa3d677284addd200126d9069
Wiktor Stribiżew
  • 607,720
  • 39
  • 448
  • 563
dtb
  • 213,145
  • 36
  • 401
  • 431