{
  "service": "api-hash",
  "description": "SHA-1 / SHA-256 / SHA-384 / SHA-512 digests over UTF-8 text or raw bytes (base64).",
  "algorithms": [
    {
      "id": "sha1",
      "digest_bits": 160,
      "hex_length": 40
    },
    {
      "id": "sha256",
      "digest_bits": 256,
      "hex_length": 64
    },
    {
      "id": "sha384",
      "digest_bits": 384,
      "hex_length": 96
    },
    {
      "id": "sha512",
      "digest_bits": 512,
      "hex_length": 128
    }
  ],
  "limits": {
    "max_input_bytes": 262144
  },
  "endpoints": {
    "info": "GET /",
    "hash": "GET /?text=&algo=&encoding=&hex_case=",
    "hash_post": "POST / (JSON: text | input_base64, algo?, encoding?, hex_case?)",
    "compare": "POST /compare (JSON: text | input_base64, algo, expected_hex)",
    "embed": "GET /embed/"
  }
}