opyeb srihash

About srihash

2026-11-29

It exists so you no longer upload unreleased code to an online tool just to hash it.

What the tool does

It computes SHA-256, SHA-384 and SHA-512 integrity hashes for a file or pasted source, then builds the script or link tag and the CSP line that carry them. Paste an existing tag or Content-Security-Policy header and it reports on format, algorithm strength, CORS setup and hash matches line by line.

The three jobs sit on one screen because they form one sequence: make the hash, put it in the tag, then check it again after deployment.

Why it runs only in the browser

The file you want to hash is usually code that has not been released. Uploading it to an online tool copies all of it to someone else's server. This tool has no such path: no server code, no upload API, no account.

The work is done by Web Crypto's crypto.subtle.digest, a crypto implementation built into the browser, so no library is downloaded. The network panel shows zero external requests.

What it supports

The formats and rules below are covered.

Limits

The tool computes hashes and inspects text; it does not observe real response headers or CDN configuration. Whether Access-Control-Allow-Origin actually arrives must be checked in the browser's network panel after deployment.

A hash covers bytes. If your pipeline minifies, transforms or rewrites line endings, the digest changes, so hash the final artefact the pipeline produces.

Back to the workbench