Table of Contents

About

sha512 is a Secure Hash Algorithm (SHA) algorithm that create a message digest

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

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

Calculation

Powershell

Get-FileHash -Path hello.exe -Algorithm SHA512

Openssl

Openssl

openssl dgst -sha512 file

sha512sum

the linux sha512sum utility.

sha512sum myFile
24a262bed4e211f0c516fd4f115ccc97f1c581bc58c00fda60bfa305d620436e8a90847e87644307a695e2d0f71e971acf60d8b22cc12eb23705405bf9a9afeb myFile