Guest User

Untitled

a guest
Apr 22nd, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. @echo off
  2. rem ---------------------------------------------------------------------------
  3. rem Generates a SRI hash for the provided file. This is intended to be used in
  4. rem Git Bash under Windows.
  5. rem ---------------------------------------------------------------------------
  6. set file=%1
  7. echo SRI hash for '%file%':
  8. openssl dgst -sha384 -binary %file% | openssl base64 -A
Add Comment
Please, Sign In to add comment