Hash Generator API

What it does

Generates cryptographic hashes (MD5, SHA1, SHA256, SHA512, bcrypt) from input text, and verifies hashes against input values.

Endpoints

POST https://hash-generator-api-x402-689670267582.us-central1.run.app/generate

POST https://hash-generator-api-x402-689670267582.us-central1.run.app/verify

Price

$0.005 USDC per request (Base L2)

Generate Hash - Request Example

{
  "text": "hello world",
  "algorithm": "sha256"
}

Supported algorithms: md5, sha1, sha256, sha512, bcrypt

Generate Hash - Response

{
  "hash": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9",
  "algorithm": "sha256"
}

Verify Hash - Request Example

{
  "text": "hello world",
  "hash": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9",
  "algorithm": "sha256"
}

Verify Hash - Response

{
  "valid": true
}