Demo
Hashes UTF-8 text with the selected SHA-2 algorithm and shows the digest in hexadecimal. Use the OpenSSL command below the result to check it independently.
SHA-256, hex:
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Verify independently with OpenSSL:
printf '%s' '' | openssl dgst -sha256