What does SHA256 hexadecimal string look like?

Simon Verbeke picture Simon Verbeke · Jul 8, 2011 · Viewed 19.6k times · Source

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?

Answer

dtb picture dtb · Jul 8, 2011

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