title: How to check if string is a valid sha256 hash in PHP?
body: <p>How do I manage to identify a sha256 hash using PHP?
  Also, is there any way to identify if the string is a sha256 hash even if it was salted?</p>
  
  <p>I don't need to know the real value of the hash (I know that is impossible), but I need only to validate the string, so I can work in a way if the string is a sha256 hash and work another way if it isn't.</p>