API Documentation
POST
/api/v1/hashHash Generator
Generate cryptographic hashes (MD5, SHA-1, SHA-256, SHA-512)
generators
Parameters
inputstringString to hash
algorithmstringmd5, sha1, sha256, sha512
Default: sha256
Example Request
curl -X POST https://devtools.at/api/v1/hash \
-H "Content-Type: application/json" \
-d '{"input":"Hello World","algorithm":"sha256"}'Example Response
{
"success": true,
"data": {
"hash": "a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e",
"algorithm": "sha256"
},
"meta": {
"processingTime": 1
}
}Try it out
Test this endpoint directly in your browser
Response
Click "Execute Request" to see the response