SRI Hash Generator
Create SHA-256, SHA-384 or SHA-512 integrity attributes from exact resource text.
Loading the local tool workspace…
What is SRI Hash Generator?
SRI Hash Generator produces a Subresource Integrity value from the exact bytes represented by pasted resource text.
How to use SRI Hash Generator
- 01
Paste the complete deployed script or stylesheet content.
- 02
Choose SHA-256, SHA-384 or SHA-512 as required by your workflow.
- 03
Copy the algorithm-prefixed Base64 value into an integrity attribute.
SRI Hash Generator FAQ
Why does the generated SRI value fail in the browser?
The fetched resource bytes differ from the pasted text. Generate the value from the final deployed asset and ensure crossorigin settings match the resource.
Is SRI Hash Generator private to use?
Yes. Security values and pasted configuration data are processed locally and are not sent to Toolnera or external targets.