SRI Hash Generator
Paste JavaScript, CSS, or another static asset body to generate SHA-256, SHA-384, and SHA-512 Subresource Integrity values plus ready-to-copy script and stylesheet markup.
How to use these SRI hashes
Use the integrity value that matches the exact bytes served by your CDN. SHA-384 is commonly used in examples and is highlighted as the default recommendation. If the hosted asset changes, regenerate and update the integrity attribute.