SRI Generator Online
Create SHA-256, SHA-384 or SHA-512 Subresource Integrity hashes.
Open SRI GeneratorFree · No sign-up · Browser-based processing
What SRI Generator does
Create SHA-256, SHA-384 or SHA-512 Subresource Integrity hashes. The utility is designed for quick, focused work without requiring an account or installing another application.
Common uses
- Troubleshoot network and security configurations
- Check values before production changes
- Generate repeatable outputs for documentation
How to use SRI Generator
- Enter or paste the value you want to process in SRI Generator.
- Run the tool and review the generated result for the expected format.
- Copy or download the result and verify it in the system where it will be used.
Privacy: Runs locally in your browser. Input is not uploaded to the DevNet Kit server.
SRI Generator example
Try the tool with this representative input:
console.log("DevNet Kit");SRI Generator FAQ
What can I use SRI Generator for?
Create SHA-256, SHA-384 or SHA-512 Subresource Integrity hashes. It is intended for focused network & security work and produces a result you can review before using elsewhere.
How does SRI Generator handle my input?
SRI Generator processes the input in your browser and does not upload it to the DevNet Kit server.
What should I verify after using SRI Generator?
Check the SRI Generator result against the requirements of the destination system, especially syntax, limits and environment-specific behavior.
Hash demonstration text and compare it with the bytes you intend to publish
The example hashes console.log(42); as UTF-8 with SHA-384 and returns a Base64 digest plus a script snippet. It does not run that text or download a resource. Pasting a URL hashes the URL string itself, not the JavaScript at that location. The available presets are SHA-256/SHA-384/SHA-512.
The /asset.js path is a placeholder and crossorigin="anonymous" is template text, not a check of any server setting. Input text may differ from delivered resource bytes through whitespace, line endings, encoding or later changes. This generator does not fetch the deployed asset, verify a browser load or assess resource trust. Match the intended bytes independently before using a generated attribute.
Worked example
Input and settings:
console.log(42);Options:
SHA-384Expected result or interpretation:
sha384-DG82buoRZPswr9P7bQOCTSHREXNDV3bBQxCzKcGd8diLCFQJD2JK3DnwoS3Fi17N
<script src="/asset.js" integrity="sha384-DG82buoRZPswr9P7bQOCTSHREXNDV3bBQxCzKcGd8diLCFQJD2JK3DnwoS3Fi17N" crossorigin="anonymous"></script>Questions about this workflow
Does a URL input download and hash its resource?
No. It hashes input text as UTF-8. A pasted URL becomes the hashed string; the resource is not downloaded. SHA-256/SHA-384/SHA-512 presets return a Base64 digest, and the input text is not executed.
Does the /asset.js snippet verify deployed bytes, CORS or resource trust?
No. /asset.js and crossorigin="anonymous" are placeholders in generated text. Whitespace, line endings, encoding or later edits can make text differ from delivered bytes. No resource fetch, browser-load check, server-setting validation or trust assessment occurs.