The API Explorer allows you to interact with the SHA224.com API without writing any code. You can test different endpoints, configure request parameters, and see real-time responses to understand how the API works.
Authentication
Enter your API key to make authenticated requests. Don't have an API key? Sign up for free.
This endpoint calculates the SHA-224 hash of the provided text. The text can be encoded in different formats, and the hash can be returned in various encodings.
Request Parameters
Request Preview
curl -X POST \
https://api.sha224.com/v1/hash \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"data": "Enter text to hash",
"encoding": "utf8",
"output": "hex"
}'
Response
This endpoint verifies whether the provided data, when hashed with SHA-224, matches the expected hash value.
Request Parameters
Request Preview
curl -X POST \
https://api.sha224.com/v1/verify \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"data": "Enter text to verify",
"expectedHash": "Enter the expected SHA-224 hash",
"encoding": "utf8"
}'
Response
This endpoint calculates the SHA-224 hash of an uploaded file. For demonstration purposes, the API Explorer will calculate the hash locally without actually uploading the file.
Request Parameters
Request Preview
curl -X POST \
https://api.sha224.com/v1/file/hash \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: multipart/form-data' \
-F 'file=@your_file_name' \
-F 'output=hex'
Response
This endpoint generates an HMAC (Hash-based Message Authentication Code) using SHA-224 as the underlying hash function.
Request Parameters
Request Preview
curl -X POST \
https://api.sha224.com/v1/hmac \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"data": "Enter text to authenticate",
"key": "Enter your secret key",
"encoding": "utf8",
"output": "hex"
}'
Response
This endpoint retrieves information about your API usage and remaining quota.
Request Parameters
Request Preview
curl -X GET \
https://api.sha224.com/v1/usage?period=day \
-H 'Authorization: Bearer YOUR_API_KEY'
Response
Local Testing
The API Explorer runs all operations in your browser without sending any data to our servers (unless you explicitly execute a request with a valid API key). This allows you to test the API functionality without affecting your rate limits.