Skip to main content

BLAKE2 Hash Generator

API reference

Generate a BLAKE2b, BLAKE2s or BLAKE3 hash of any text, in hexadecimal or base64, with optional keyed mode and expected-hash verification.

Input

Keyed (MAC) mode, UTF-8. BLAKE2b allows up to 64 bytes, BLAKE2s up to 32, BLAKE3 exactly 32.

Hex comparison is case-insensitive; base64 is case-sensitive.

Output

Only shown when an expected hash is provided.

Was this helpful?

More ways to use this tool

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": ""
  }'

Swap in your own key from your account. The tool's fields are the body — no wrapper.

Ask an AI agent

Use the IOTools `blake2-hash-generator` tool (BLAKE2 Hash Generator) on this input:

YOUR_INPUT_HERE

Paste this at any agent connected to the IOTools MCP server, then add your input.

Embed widget

<iframe
  src="https://iotools.cloud/embed/blake2-hash-generator/"
  width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
  title="BLAKE2 Hash Generator — 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>

Drop this into your own page — free, no key required, just a link back.

Cost per API/MCP callFrom 5 credits
Need more credits?View pricing

Also available with

Guides

Generate a BLAKE2b, BLAKE2s or BLAKE3 hash of any text in your browser. Choose hex or base64 output, optionally add a key for keyed (MAC) mode, and paste an expected hash to verify it. Nothing leaves your device.

The algorithms

  • BLAKE2b — 512-bit digest, optimized for 64-bit platforms. Faster than MD5 and SHA-2 while being as secure as SHA-3.
  • BLAKE2s — 256-bit digest, optimized for 8–32-bit platforms.
  • BLAKE3 — 256-bit digest, a newer, highly parallel design derived from BLAKE2.

Keyed mode

Entering a key turns the hash into a MAC. BLAKE2b accepts keys up to 64 bytes, BLAKE2s up to 32 bytes, and BLAKE3 requires exactly 32 bytes (UTF-8 encoded).

How to use

  1. Enter your message.
  2. Choose an algorithm and output format.
  3. Optionally set a key and an expected hash.
  4. Copy or download the result.

Is BLAKE2 safe for passwords?

No. It is a fast general-purpose hash; for passwords use a slow KDF such as Argon2 or bcrypt.

blake2blake2bblake2sblake3hashchecksumdigestcryptography

Love the tools? Lose the ads.

One payment clears every ad from your account, for good. No subscription, no tracking.