SRI Hash Generator
Generate Subresource Integrity hashes for your assets.
Hashes will appear here
Enter a URL to a resource (JS, CSS) to generate its integrity hash.
About the Subresource Integrity (SRI) Hash Generator
Generate Subresource Integrity (SRI) hashes (SHA-256, SHA-384, SHA-512) for your assets. SRI is a security feature that allows browsers to verify that resources they fetch (for example, from a CDN) are delivered without unexpected manipulation.
When you include scripts or stylesheets from a third-party CDN, you are trusting that the CDN will not serve malicious content. SRI protects you by ensuring the file your users download has not been tampered with. If the hash of the downloaded file doesn't match the integrity hash you provide, the browser will refuse to execute it.