About
Tool No. 91 of Pikkola, 28 November 2026
The hash a browser checks before it runs a script is a digest of exact bytes. This page computes SHA-256, SHA-384 and SHA-512 over the file you drop, writes the script and link tags that carry the value, and verifies an attribute you were given.
What it does
- SHA-256, SHA-384 and SHA-512 in WebCrypto
- Hashes text or a dropped file from its raw bytes
- script and link tags with crossorigin and referrerpolicy
- A verifier that names which algorithm matched a pasted attribute
The digest is of the response body
Not the file on disk before minification, not the compressed bytes on the wire, and not whatever a CDN happens to serve in your region. That is why the page hashes the artefact you give it and never fetches a URL: the only bytes that matter are the ones the browser receives.
CORS is the hidden dependency
To hash a cross origin response the browser has to read its body, which needs crossorigin="anonymous" on the tag and Access-Control-Allow-Origin on the response. Without both, the failure is a CORS error before the digest is even compared.
A pin is not a vouch
A hash you computed from a compromised build is a perfect pin on a malicious file. Integrity stops a file being swapped after you approved it; it says nothing about whether the file you approved was safe.
What it is not
It does not fetch the URL, check CORS, lint a policy or scan the file. It produces a digest and a tag, and it verifies a claim you already have.
Contact
A file whose integrity this page computes differently from your build tool, or a provider worth adding to the guide, is worth the exact bytes: hello@pikkola.com.
소개
피콜라 91번 도구, 2026년 11월 28일
브라우저가 스크립트를 실행하기 전에 확인하는 해시는 정확한 바이트의 다이제스트입니다. 이 페이지는 놓은 파일의 SHA-256, SHA-384, SHA-512를 계산하고 그 값을 담는 스크립트와 링크 태그를 쓰며, 받은 속성을 검증합니다.
하는 일
- WebCrypto의 SHA-256, SHA-384, SHA-512
- 글이나 놓은 파일을 원본 바이트로 해시
- crossorigin과 referrerpolicy가 붙은 스크립트와 링크 태그
- 붙인 속성에서 어느 알고리즘이 맞았는지 밝히는 검증기
다이제스트는 응답 본문의 것
압축하기 전 디스크의 파일도, 회선 위의 압축 바이트도, CDN이 여러분의 지역에 보내는 것도 아닙니다. 그래서 이 페이지는 받은 산출물을 해시하고 주소를 가져오지 않습니다. 중요한 바이트는 브라우저가 받는 것뿐입니다.
CORS가 숨은 의존
다른 출처의 응답을 해시하려면 브라우저가 본문을 읽어야 하고, 태그의 crossorigin="anonymous"와 응답의 Access-Control-Allow-Origin이 필요합니다. 둘 다 없으면 다이제스트를 비교하기도 전에 CORS 오류로 실패합니다.
고정은 보증이 아닙니다
훼손된 빌드에서 계산한 해시는 나쁜 파일을 완벽하게 고정합니다. 무결성은 승인한 뒤 파일이 바뀌는 것을 막고, 승인한 파일이 안전했는지는 말하지 않습니다.
아닌 것
주소를 가져오지 않고 CORS를 확인하지 않으며 정책을 검사하거나 파일을 훑지 않습니다. 다이제스트와 태그를 만들고 이미 가진 주장을 검증합니다.
연락
이 페이지가 여러분의 빌드 도구와 다르게 계산하는 파일이나 안내에 더할 만한 공급자가 있다면 정확한 바이트를 보내 주세요: hello@pikkola.com.
概要
Pikkola の91番目の道具、2026年11月28日
ブラウザが台本を走らせる前に確かめるハッシュは、正確なバイトの要約です。この頁は落としたファイルの SHA-256、SHA-384、SHA-512 を計算し、値を載せる script と link の印を書き、渡された属性を確かめます。
すること
- WebCrypto の SHA-256、SHA-384、SHA-512
- 文字や落としたファイルを元のバイトで測る
- crossorigin と referrerpolicy の付いた script と link の印
- 貼った属性でどの算法が合ったかを告げる確認
要約は返事の本文のもの
縮める前の盤のファイルでも、線の上の縮んだバイトでも、CDN があなたの地域に送るものでもありません。だからこの頁は渡された産物を測り、住所を取りに行きません。大事なバイトはブラウザが受け取るものだけです。
CORS が隠れた頼り
別の出所の返事を測るにはブラウザが本文を読む必要があり、印の crossorigin="anonymous" と返事の Access-Control-Allow-Origin が要ります。どちらも無いと、要約を比べる前に CORS の誤りで失敗します。
留めることは保証ではありません
壊れた作から計算したハッシュは、悪いファイルを完全に留めます。整合性は認めた後にファイルが入れ替わるのを止め、認めたファイルが安全だったかは告げません。
でないもの
住所を取りに行かず、CORS を確かめず、決まりを検査せず、ファイルを走査しません。要約と印を作り、すでに持っている主張を確かめます。
連絡
この頁があなたの組み立ての道具と違って計算するファイルや、案内に足す価値のある提供元があれば、正確なバイトを送ってください: hello@pikkola.com。