跳到主要内容

哈希计算

UpBox优盒工具箱,免费在线哈希计算工具,一次算出文本的 MD5、SHA-1、SHA-256、SHA-512 摘要,本地运算,可复制。

无需注册 · 数据不上传No sign-up · nothing uploaded

待计算文本Text to hash

输入文本后自动计算

MD5 与 SHA-1 已不适合用于密码存储,校验文件完整性请优先使用 SHA-256

摘要结果Digests

输入文本后自动计算四种摘要
本工具所有运算在本地浏览器完成,你的文件、文本不会上传到服务器

工具介绍

哈希计算把一段文本压缩成固定长度的摘要:MD5 为 32 位十六进制,SHA-1 为 40 位,SHA-256 为 64 位,SHA-512 为 128 位。 Hashing reduces text to a fixed-length digest: MD5 at 32 hex characters, SHA-1 at 40, SHA-256 at 64, SHA-512 at 128.

四种结果同时给出,可用于核对接口签名、比对配置片段,或确认两段文本是否一致;所有运算都在浏览器内完成。 All four digests appear at once for checking API signatures, comparing config snippets, or confirming two texts match — computed entirely in the browser.

  • 四种算法一次算出Four algorithms at once
  • 中文与多行文本Non-ASCII and multi-line
  • 大写输出切换Uppercase toggle
  • 逐行复制摘要Per-row copy
  • 纯本地运算Local-only computation

使用说明

  1. 把需要计算的文本粘贴到输入框。Paste the text you want to hash.
  2. 页面自动计算,也可点“计算”。It computes automatically, or press Compute.
  3. 按需勾选“大写输出”。Enable uppercase if needed.
  4. 在结果表复制对应的摘要。Copy the digest you need from the table.

常见问题

MD5 还能用吗?Is MD5 still usable?
可以用于校验文件或生成短标识,但已不适合密码存储和防篡改场景,重要场景请用 SHA-256。Fine for checksums or short identifiers, but unsuitable for passwords or tamper protection — use SHA-256 there.
结果为什么和某些网站不一样?Why does the digest differ from another site?
先确认输入是否完全一致(空格、换行、大小写都会改变摘要),再确认是否勾选了大写输出。Check the input matches exactly — spaces, newlines and case all change the digest — then confirm the uppercase toggle.
能计算文件的哈希吗?Can it hash files?
当前版本只处理文本。文件可先转成文本内容再粘贴,超大文件建议用系统自带命令。This version handles text only. Convert files to text first, or use a system tool for very large files.
文本会上传吗?Is the text uploaded?
不会。摘要由浏览器本地计算,内容不会离开设备。No. Digests are computed in the browser and the text never leaves your device.
广告位

此处为广告位,可放置你的推广素材

支持图片、文字或 HTML 代码,替换本区块内容即可投放

浏览其他分类