Back to Tool
#
Hash Generator API
Generate cryptographic hashes (MD5, SHA-1, SHA-256, SHA-512)
Endpoint
POST
/api/v1/hash-generatorAuthentication
Include your API key in the request header:
X-API-Key: your_api_key_hereGet your API key from the Dashboard
Request Body
Content-Type: application/json
| Field | Type | Required | Description |
|---|---|---|---|
| text | string | Yes | The text to hash |
| algorithm | string | Yes | Hash algorithm: md5, sha1, sha256, sha512 |
Response
| Field | Type | Description |
|---|---|---|
| success | boolean | Whether the operation was successful |
| hash | string | The generated hash (hex string) |
| algorithm | string | The algorithm used |
Code Examples
curl -X POST https://tools.shubhambadgujar.com/api/v1/hash-generator \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{"text": "Hello World", "algorithm": "sha256"}'Rate Limits
- • 100 requests per minute
- • 10,000 requests per day
- • Max request size: 10MB
Need Help?
Contact us at support@shubhambadgujar.com