Subresource Integrity (SRI) Hash & Tag Generator
Calculate cryptographic base64-encoded SHA-256, SHA-384, and SHA-512 hashes and generate compliant HTML script and link tags with CORS protection per W3C SRI specifications.
Resource URL & Script Payload
Hashes are calculated client-side in your browser using the W3C Web Crypto API. No code is transmitted to any server.
Cryptographic SRI Hash String
W3C COMPLIANT
sha384-...
Base64-encoded cryptographic digest with algorithm prefix
Generated HTML Tag
<!-- Computing... -->
Security & Tamper-Proofing Guarantee
Algorithm Strength:
384 bits (48 bytes)
CORS crossorigin:
crossorigin="anonymous"
Supply-Chain Attack Protection:
Blocks modified/injected scripts
Browser Blocking Behavior:
Execution halted if 1 bit alters