哈希有什么用
哈希(摘要)是把任意长度的内容映射成一个固定长度的“指纹”。同一个内容哈希永远相同,内容改动一点点,结果就会大变。常用于下载文件的完整性校验、内容的一致性对比,以及给敏感字段做单向摘要。
这个工具支持哪些算法
打开 哈希生成工具,输入任意文本,会同时给出:
- MD5:32 位十六进制,速度快、用途广,但已不适用于安全场景,仅适合校验。
- SHA-256:128 位十六进制,当前最常用的安全摘要,证书、签名、下载校验都在用它。
- SHA-512:摘要更长、安全性更高,适合对性能要求不高的场景。
怎么对文件校验
拿到某个安装包的 SHA-256 值时,把文件内容转成文本后套用工具计算,或者直接对下载的文本摘要比对,一致即说明文件未损坏、未被篡改。所有计算在浏览器本地完成,内容不会上传。
What hashes are for
A hash (digest) maps content of any size to a fixed-length "fingerprint". The same content always hashes identically, and any tiny change produces a completely different result — which is why hashes power integrity checks, consistency comparisons, and one-way summaries of sensitive fields.
Algorithms included
Open the hash generator, type any text, and you get all three at once:
- MD5 — 32 hex characters, fast and familiar, but no longer safe: use it only for checksums.
- SHA-256 — 64 hex characters, the everyday secure choice behind certificates, signatures, and download verification.
- SHA-512 — a longer, stronger digest for scenarios where speed matters less.
Verifying a file
Downloading software with a published SHA-256? Run the downloaded content through the tool (or verify the published digest of your text form) — a match means the file is intact and untampered. Everything is computed locally; nothing is uploaded.