INKTOOLS

DEV NO.006

Hash Calculator

MD5, SHA-1, SHA-256 and SHA-512 checksums for text and files — computed in seconds.

This tool runs entirely in your browser. Nothing is uploaded to any server.

Input text

What is this

什么是哈希

哈希函数把任意输入映射为固定长度的「指纹」——输入哪怕改动一个字节,指纹也会完全不同。用途:文件完整性校验、去重、密码存储(需加盐慢哈希)。

What is a hash

A hash function maps any input to a fixed-length fingerprint. Change one byte and the fingerprint changes completely — the basis of integrity checks, deduplication and (properly salted) password storage.

如何使用

  1. 文本模式:粘贴文本即得四种哈希。
  2. 文件模式:拖入文件,自动计算 SHA 系列;MD5 在浏览器内用 JS 实现。
  3. 复制任一指纹用于比对。

FAQ

How do I verify a downloaded file?

Drop the file here, compute its SHA-256 and compare it character-by-character with the checksum published by the source.

Is MD5 still safe?

MD5 and SHA-1 are broken for security purposes (collisions are practical). Fine for non-adversarial checksums, but choose SHA-256 for anything new.

Are files uploaded?

No. Files are hashed locally with the Web Crypto API — you get full speed with zero uploads.