# Hash generator

> Calculate the MD5, SHA-1, SHA-256 and SHA-512 hash of any text online, in hex or Base64. Verify checksums and webhook payloads. Free.

Free tool by Orkosi. Page: https://orkosi.com/tools/hash-generator

Check that a payload arrived unchanged, compare a checksum or build a cache key. Paste the text and get the four common digests side by side.

1. Paste the text.
2. Choose hex or Base64 output.
3. Press Generate and copy the digest you need.

## Input

| Field | Type | Required | What it is |
| --- | --- | --- | --- |
| `text` | text | yes | Text. |
| `encoding` | "hex" \| "base64" | no | Output. Default: "hex". |

## Example

Input:

```json
{
  "text": "hello world"
}
```

Result:

```json
{
  "hashes": [
    {
      "algorithm": "MD5",
      "hash": "5eb63bbbe01eeed093cb22bb8f5acdc3"
    },
    {
      "algorithm": "SHA-1",
      "hash": "2aae6c35c94fcfb415dbe95f408b9ce91ee846ed"
    },
    {
      "algorithm": "SHA-256",
      "hash": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9"
    },
    {
      "algorithm": "SHA-512",
      "hash": "309ecc489c12d6eb4cc40f50c902f2b4d0ed77ee511a7c7a9bcd3ca86d4cd86f989dd35bc5ff499670da34255b45b0cfd830e81f605dcf7dc5542e93ae9cd76f"
    }
  ],
  "sha256": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9",
  "bytes": 11
}
```

## Run it

It needs a free Orkosi account, nothing else. No credits are used.

- **A person**: open the page, enter an e-mail once, use the tool.
- **Claude or ChatGPT**: add the Orkosi connector `https://orkosi.com/api/v1/public/mcp` and sign in, or create the free account on the sign-in page. Then call `orkosi_run_free_tool` with `{ "tool": "hash-generator", "input": { … } }`.
- **Any agent or program that can make an HTTP request**:

  1. Once, create the account: `POST https://orkosi.com/api/v1/public/signup` with `{ "name": "…", "email": "…", "terms_accepted": true }` and no key. Ask the person for the e-mail and their agreement to the terms first. The answer carries `data.api_key`, shown once.
  2. Run the tool:

```bash
curl -X POST https://orkosi.com/api/v1/public/tools/hash-generator/run \
  -H "Authorization: Bearer $ORKOSI_API_KEY" -H "Content-Type: application/json" \
  -d '{"input":{"text":"hello world"}}'
```

The answer is `{ "data": { "tool": "…", "result": { … } } }`. A call without a key is answered 401 with the signup steps as data.

## Questions

**Which hash should I use?**

SHA-256 for anything new. MD5 and SHA-1 are broken for security and remain useful only as checksums against accidental change.

**Can I hash a password with this?**

Not for storage. Passwords need a slow, salted algorithm such as Argon2 or bcrypt; a plain SHA-256 can be guessed billions of times a second.

**Can a hash be reversed?**

No. A hash is one-way. Short or common inputs can still be found by guessing, which is why secrets need a salt.

All free tools: https://orkosi.com/tools.md
