Function - sha256 (Secure Hash Algorithm-256)

About

sha256 is a hash function of the sha family

The sha256 value in a integrity HTML attribute is the sha256 value transformed in base64

openssl dgst -sha256 -binary stylesheet.css | openssl base64 -A

Tools

Powershell

Get-FileHash -Path hello.exe -Algorithm SHA256

sha256sum

the linux sha256sum utility.

sha256sum myFile
89829d79d0ec276abc565d258321b0eb2e6233906ee11604b34d97fbfe522956 myFile

Openssl

Openssl

openssl dgst -sha256 file
SHA256(file)= 89829d79d0ec276abc565d258321b0eb2e6233906ee11604b34d97fbfe522956

Powered by ComboStrap