POST /api/hash
Generate a digest or password hash.
Request
{ "input": "hello", "algorithm": "sha256", "encoding": "hex" }Response
{ "hash": "2cf24d…", "length": 64, "processingTimeMs": 1 }REST API
Base URL: https://your-domain/api. Send JSON except for file hashing. Rate limits apply; request bodies are never logged.
Generate a digest or password hash.
Request
{ "input": "hello", "algorithm": "sha256", "encoding": "hex" }Response
{ "hash": "2cf24d…", "length": 64, "processingTimeMs": 1 }Verify a supplied input against an existing hash.
Request
{ "input": "hello", "hash": "2cf24d…", "algorithm": "sha256" }Response
{ "match": true, "processingTimeMs": 1 }Multipart upload; file stays in memory and is discarded.
Request
file=<binary>, algorithms=sha256,sha512
Response
{ "name": "report.pdf", "hashes": { "sha256": "…" } }Create a message authentication code.
Request
{ "message": "hello", "key": "secret", "algorithm": "sha256" }Response
{ "hmac": "…", "algorithm": "sha256" }Return likely hash formats.
Request
{ "hash": "$2b$12$…" }Response
{ "length": 60, "matches": [{ "algorithm": "bcrypt", "confidence": 100 }] }