Welcome! Please see the About page for a little more info on how this works.
"OK" returned by sha256sum may be translated. Better rely on the exit status. Since -p pipefail is used, the pipe to grep could be simply omitted.
sha256sum
-p pipefail
grep