About This Tool
Generate Subresource Integrity (SRI) hashes to verify that files loaded from CDNs or third-party servers haven’t been tampered with.
How to Use
- Paste the content of a JavaScript or CSS file
- Select the hash algorithm (SHA-256, SHA-384, or SHA-512)
- Click Generate to compute the SRI hash
- Copy the generated integrity attribute for your script or link tag
FAQ
Which hash algorithm should I use?
SHA-384 is recommended as a good balance between security and compatibility.