How to check if a string is a valid SHA256 hash in JavaScript?
Originally Published Here ๐!
To check if a string is a valid SHA256 hash in JavaScript, we can use a regex expression to match for the 64 consecutive hexadecimal digits which are characters from a-f and numbers from 0-9.
TL;DR
// Regular expression ...
melvingeorge-me.hashnode.dev2 min read