Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- rem ---------------------------------------------------------------------------
- rem Generates a SRI hash for the provided file. This is intended to be used in
- rem Git Bash under Windows.
- rem ---------------------------------------------------------------------------
- set file=%1
- echo SRI hash for '%file%':
- openssl dgst -sha384 -binary %file% | openssl base64 -A
Add Comment
Please, Sign In to add comment