Security🔒 Browser (client-side)API available📴 Works offlinebeginner
Checksum Calculator
Computes MD5/SHA-1 checksums for verifying data integrity.
Data stays in your browser
Ready to runInstant execution
Result
—What does this tool do?
Computes MD5/SHA-1 checksums for verifying data integrity.
Why would I use it?
- You downloaded a file and want to verify the published checksum matches.
- You want a quick integrity check of a config value.
- You are comparing data copies.
Real-life example
Input
file-content
Output
md5: 8c9c5a...
Checksums detect accidental corruption, not malicious tampering.
Input → Process → Output → Next
- Input
- Paste the content and choose MD5 or SHA-1.
- Process
- The browser computes the digest.
- Output
- The checksum hex string.
- Next action
- Compare with the checksum published by the source.
Common mistakes
- Using checksums for security (use SHA-256+ and a trusted channel).
- Checking only part of a file.
- Ignoring that MD5 collisions exist.
What the result means
Matching checksums = identical bytes (for integrity purposes).
Privacy & security
Your input is processed entirely in your browser and never sent to a YAS server.
API
Endpoint
POST https://yas.sh/api/v1/tools/checksum
Request Header
Content-Type: application/json
cURL
curl -X POST "https://yas.sh/api/v1/tools/checksum" \
-H "Content-Type: application/json" \
-d '{"input":"hello","algo":"sha1"}'JavaScript
const res = await fetch("https://yas.sh/api/v1/tools/checksum", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"input": "hello",
"algo": "sha1"
}),
});
const data = await res.json();Python
import requests
r = requests.post("https://yas.sh/api/v1/tools/checksum", json={"input":"hello","algo":"sha1"})
data = r.json()| Field | Type | Required | Description |
|---|---|---|---|
| input | string | Yes | Text to checksum (≤ 64 KB) |
| algo | string | No (default "sha256") | md5 | sha1 | sha256 | sha384 | sha512 |
Success response
{ "slug": "checksum", "algo": "sha1", "result": "aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d" }Identical to hash-calculator (checksum semantics).
Error responses
400 VALIDATION_ERROR— invalid input or unsupported option.413 PAYLOAD_TOO_LARGE— input exceeds the 64 KB limit.429 RATE_LIMIT_EXCEEDED— rate limit exceeded (60 req/min).
Limits
- Maximum input: 64 KB per request.
- Rate limit: 60 requests/min per IP address.
- Authenticated accounts benefit from higher tier quotas.
Related tools