Skip to content
cosmodev ~/tools/hash-type-identifier

哈希类型识别器

Encoders & Crypto

根据长度与字符集识别哈希字符串可能对应的算法——MD5、SHA-1/2/3、BLAKE、CRC32、NTLM、bcrypt、Argon2 等。

试试:
长度
32
字符集
hex
位长
128

功能说明

哈希类型识别器通过检查哈希字符串的长度和字符集,对可能生成它的算法进行排序 —— MD5、SHA-1/2/3、BLAKE、CRC32、NTLM、bcrypt、Argon2 等。多个算法共享相同的输出长度,因此本工具以排序列表给出每一个合理候选,而不是猜测单一答案。100% 在客户端运行。

使用方法

  1. 将哈希粘贴到 HashHashA one-way function that maps data of any size to a fixed-length digest. Same input, same digest; any change, different digest; not reversible.(或点按 Try: 标签 —— 每个标签都是字符串 cosmolabs 的真实摘要)。
  2. 阅读 Length、Charset 和 Bit length 统计,然后是排序后的 Likely algorithms 列表。#1 行是该形态最常见的算法。
  3. Copy report 将排序列表复制为纯文本;哈希编码在 URL(?h=…)中,可以分享或收藏精确的识别结果。

可识别的格式

形态 长度 / 前缀 返回的候选
Hex 8 字符(32 位) CRC32、Adler-32
Hex 16 字符(64 位) MySQL 3.x、CRC64
Hex 32 字符(128 位) MD5、MD4、NTLM、LM、MD2、RIPEMD-128、HAVAL-128
Hex 40 字符(160 位) SHA-1、RIPEMD-160、HAVAL-160、MySQL 5.x (SHA1(SHA1))、Tiger-160
Hex 56 字符(224 位) SHA-224、SHA3-224、BLAKE2s-224、HAVAL-224
Hex 64 字符(256 位) SHA-256、SHA3-256、BLAKE2s-256、RIPEMD-256、Skein-256
Hex 96 字符(384 位) SHA-384、SHA3-384、BLAKE2b-384
Hex 128 字符(512 位) SHA-512、SHA3-512、BLAKE2b-512、Whirlpool、Skein-512
Base64Base64An encoding representing binary data as 64 safe ASCII characters, so it survives transport through text-only channels. It encodes — it does not encrypt. 24 / 28 / 44 / 88 字符 MD5、SHA-1、SHA-256、SHA-512(base64base64An encoding representing binary data as 64 safe ASCII characters, so it survives transport through text-only channels. It encodes — it does not encrypt.)
前缀 $2a$、$2b$、$2x$、$2y$ bcrypt
前缀 $argon2id$、$argon2i$、$argon2d$ Argon2

任何其他形态(长度不符、字符混杂)显示中性的「no known hashhashA one-way function that maps data of any size to a fixed-length digest. Same input, same digest; any change, different digest; not reversible. format matches」提示。

示例

以下摘要都是字符串 cosmolabs 的真实输出,已用 Node 的 crypto 模块验证:

MD5 —— 32 个十六进制字符

60b4749f2e2b300800ee2b5548172316 → MD5、MD4、NTLM、LM、MD2、RIPEMD-128、HAVAL-128(均为 128 位)。

SHA-256 —— 64 个十六进制字符

88576c6aa610e5867476f52922d1a138860e8eacc2bbe18a16dc124da7b77139 → SHA-256、SHA3-256、BLAKE2s-256、RIPEMD-256、Skein-256(均为 256 位)。

SHA-1 —— 40 个十六进制字符

006ce81575e12e1be321224f6ce62e758b6bd4bf → SHA-1、RIPEMD-160、HAVAL-160、MySQL 5.x (SHA1(SHA1))、Tiger-160。

CRC32 —— 8 个十六进制字符

5e86ed79 → CRC32、Adler-32。

SHA-256,base64base64An encoding representing binary data as 64 safe ASCII characters, so it survives transport through text-only channels. It encodes — it does not encrypt. 编码 —— 44 字符

iFdsaqYQ5YZ0dvUpItGhOIYOjqzCu+GKFtwSTae3cTk= → SHA-256(base64base64An encoding representing binary data as 64 safe ASCII characters, so it survives transport through text-only channels. It encodes — it does not encrypt.)。

bcrypt 与 Argon2 —— 按前缀识别

$2a$10$… → bcrypt。$argon2id$v=19$m=…,t=…,p=…$salt$hash → Argon2。

补充说明

  • 仅为启发式判断: 长度和字符集是线索而非证明。任何 64 位十六进制摘要都可能是 SHA-256 或 SHA3-256 —— 只有对已知输入重新哈希才能区分。
  • bcrypt 和 Argon2 自带格式($2…$、$argon2…$),因此按前缀而非长度匹配。
  • 隐私: 任何内容都不会离开你的浏览器。
  • 相关工具: HashHashA one-way function that maps data of any size to a fixed-length digest. Same input, same digest; any change, different digest; not reversible. Generator(计算摘要)、JWTJWTA compact, URL-safe token that carries claims (like identity or expiry) between two parties, signed to prevent tampering.Learn more Debugger(解码携带它们的令牌)、Hex ↔ Text Converter。
源代码14 种语言

100% 客户端运行 · 你的数据永远不会离开浏览器。 觉得好用?分享给同事吧。