Loading tool...
Visual Content Security Policy builder. Create CSP headers to protect against XSS and code injection attacks
Generate ultra-secure passwords with presets (Simple to Paranoid), strength analysis, entropy calculation, crack time estimation, password history, and bulk generation
Generate Certificate Signing Requests (CSR) for SSL/TLS certificates with RSA key pairs. Submit to CAs for certificate issuance
Your CI pipeline just failed with a cryptic integrity mismatch error, and you need to regenerate an SRI hash fast. This tool computes SHA-256, SHA-384, and SHA-512 hashes for any JavaScript or CSS file so browsers can verify CDN resources haven't been tampered with. Upload a file, paste code, or point it at a URL — you get a ready-to-paste integrity attribute in seconds.
Generate an integrity hash for every third-party library you load, so a compromised CDN can't inject malicious code.
Automate SRI hash generation in your build pipeline to catch unexpected file changes before they reach production.
Satisfy CSP and audit requirements that mandate subresource integrity for externally hosted assets.
Paste the jQuery CDN URL, copy the generated integrity attribute, and add it to your <script> tag along with crossorigin="anonymous".
SHA-384 strikes the best balance between security strength and browser compatibility. SHA-256 is also fine for most projects.
The browser blocks the resource entirely, preventing potentially malicious code from running.
SRI requires CORS access to read the file contents for hash verification. Without the crossorigin attribute, the browser can't check the hash.
All processing happens directly in your browser. Your files never leave your device and are never uploaded to any server.