输入
带密钥(MAC)模式,UTF-8 编码。BLAKE2b 最多 64 字节,BLAKE2s 最多 32 字节,BLAKE3 必须正好 32 字节。
十六进制比较不区分大小写;Base64 比较区分大小写。
输出
仅在提供预期哈希时显示。
这对您有帮助吗?
使用此工具的更多方式
REST API
curl -X POST https://api.iotools.cloud/v1/tool/blake2-hash-generator \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"inputText": "abc",
"algorithm": "blake2b",
"outputFormat": "hex",
"key": "",
"expectedHash": ""
}'替换成您账户中的密钥。工具的字段即为请求体——没有额外包装。
让 AI 代理执行
Use the IOTools `blake2-hash-generator` tool (BLAKE2 Hash Generator) on this input:
YOUR_INPUT_HERE将此粘贴给任何已连接 IOTools MCP 服务器的代理,再加上您的输入内容。
嵌入式小组件
<iframe
src="https://iotools.cloud/embed/blake2-hash-generator/"
width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
title="BLAKE2 哈希生成器 — iotools.cloud"
sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
allow="clipboard-write"
style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>把它放到您自己的页面上——免费,无需密钥,只需保留一个反向链接。
| 每次 API/MCP 调用费用 | 5 积分起 |
|---|---|
| 需要更多积分? | 查看定价 |
也可通过
使用指南
在浏览器中为任意文本生成 BLAKE2b、BLAKE2s 或 BLAKE3 哈希。可选择十六进制或 Base64 输出,还可以添加密钥启用带密钥(MAC)模式,并粘贴预期哈希进行验证。数据不会离开您的设备。
支持的算法
- BLAKE2b — 512 位摘要,针对 64 位平台优化。比 MD5 和 SHA-2 更快,安全性与 SHA-3 相当。
- BLAKE2s — 256 位摘要,针对 8 至 32 位平台优化。
- BLAKE3 — 256 位摘要,是源自 BLAKE2 的较新设计,高度并行。
带密钥模式
输入密钥后,哈希即变为 MAC。BLAKE2b 接受最多 64 字节的密钥,BLAKE2s 最多 32 字节,BLAKE3 必须正好 32 字节(UTF-8 编码)。
使用方法
- 输入您的消息。
- 选择算法和输出格式。
- 可选设置密钥和预期哈希。
- 复制或下载结果。
BLAKE2 适合用于密码吗?
不适合。它是快速的通用哈希函数;存储密码请使用 Argon2、bcrypt 等较慢的密钥派生函数。
blake2blake2bblake2sblake3hashchecksumdigestcryptography