Created
August 10, 2021 14:11
-
-
Save yanli0303/21b2bc4f7abd27de9ac5377f5b7bb829 to your computer and use it in GitHub Desktop.
Shell command for calculating the HTML script tag integrity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat SCRIPT_FILE | openssl dgst -sha512 -binary | openssl base64 -A |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment