Home
Tools
Journey
Contact
Login
Safe

Subresource Integrity (SRI) Generator

WebSec

Generate cryptographically secure subresource integrity hashes (sha256, sha384, sha512) and HTML script/link tags for external CDN assets.

Paste script or stylesheet text directly, or upload local files to compute SRI hashes using Web Crypto.
W3C recommends sha384 or sha512 for optimal forward security resistance.
100% Client-Side Web Crypto API

Subresource Integrity Hashes

W3C recommends SHA-384
SHA-384 (Recommended)
Standard
—
SHA-256
—
SHA-512
—
<script src="https://cdn.example.com/app.min.js" integrity="" crossorigin="anonymous"></script>