Skip to content
PithLab

↑↓ to move · Enter to open · Esc to close

Hash Generator API

MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text (UTF-8).

POST /api/v1/tools/hash-generatorMCP hash_generatorSecurity & Privacy

Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or a local file, all at once. Hashing runs in your browser, so files are never uploaded.

Input

Send these as a JSON object. Unknown fields are rejected.

input
The text to hash. (string, required)
uppercase
Uppercase hex. (boolean, default false)
curl https://pithlab.com/api/v1/tools/hash-generator \n  -H "Authorization: Bearer $PITHLAB_KEY" \n  -H "Content-Type: application/json" \n  -d '{"input":"hello"}'
Example response
{
  "ok": true,
  "result": {
    "md5": "5d41402abc4b2a76b9719d911017c592",
    "sha1": "aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d",
    "sha256": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824",
    "sha384": "59e1748777448c69de6b800d7a33bbfb9ff1b463e44354c3553bcdb9c666fa90125a3c79f90397bdf5f6a13de828684f",
    "sha512": "9b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca72323c3d99ba5c11d7c7acc6e14b8c5da0c4663475c2e5c3adef46f73bcdec043"
  }
}