Security Math

Encoded length of N bytes in hex, base64, base32, base58, base85, decimal or any base-N alphabet, and bytes per N characters.

OtherLiveeip155:8453Exactvia cdp
Base64Base58EncodingLength
Calls · 30d
1
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 4 snapshots so far.
$24.31
Verified settled volume
1,175 settlements proven x402 by their on-chain EIP-3009 marker.
$0.020
Listed price
As published in the catalog. Always read the live 402 before paying.
1
Calls · 30d
Upstream's own call count for this endpoint, not ours.
1
Unique payers · 30d
Last called 2026-10-20 20:30Z
—
Upstream on-chain volume
Reported by the source catalog.
Paid to
0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa

The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.

Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Provider

The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.

Live 402 challenge

Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.

{
  "error": "Payment required",
  "accepts": [
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
      "scheme": "exact",
      "network": "base",
      "mimeType": "application/json",
      "resource": "https://security-math.x402tookit.com/encoded-length",
      "description": "Encoded length of N bytes in hex, base64, base32, base58, base85, decimal or any base-N alphabet, and bytes per N characters.",
      "outputSchema": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "bytes": 32
          }
        },
        "output": {
          "asOf": "2026-10-11T14:38:13.528Z",
          "bits": 256,
          "bytes": 32,
          "source": "computed locally",
          "reasons": [
            "Length = ceil(8 x bytes / log2(alphabet size)); padded base64 and base32 round up to groups of 4 and 8 characters.",
            "Base85 here is Ascii85: 4 bytes become 5 characters, a final partial group of r bytes becomes r+1."
          ],
          "summary": "32 bytes: 64 hex characters, 44 base64 (43 unpadded), 56 base32, up to 44 base58.",
          "verdict": "COMPUTED",
          "degraded": false,
          "characters": {
            "hex": 64,
            "octal": 86,
            "binary": 256,
            "decimal": 78,
            "base32Padded": 56,
            "base64Padded": 44,
            "base85Ascii85": 40,
            "base32Unpadded": 52,
            "base64Unpadded": 43,
            "base58MaxForNonZeroLeadingByte": 44
          },
          "disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
          "notChecked": [
            "base58 of data with leading zero bytes (each adds one '1' character) and its exact length, which depends on the value",
            "line wrapping (MIME base64 adds a CRLF every 76 characters)",
            "…1 more"
          ],
          "overheadPercentHex": 100,
          "bytesPer100Characters": {
            "hex": 50,
            "base32": 62,
            "base58": 73,
            "base64": 75,
            "base85": 80
          },
          "overheadPercentBase64": 37.5
        }
      },
      "maxAmountRequired": "20000",
      "maxTimeoutSeconds": 300
    },
    {
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "extra": {
        "feePayer": "D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM"
      },
      "payTo": "DUPiupXtuox38dcGoXUKer5mAydCzmaHjrbQ66qeEm8s",
      "scheme": "exact",
      "network": "solana",
      "mimeType": "application/json",
      "resource": "https://security-math.x402tookit.com/encoded-length",
      "description": "Encoded length of N bytes in hex, base64, base32, base58, base85, decimal or any base-N alphabet, and bytes per N characters.",
      "outputSchema": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "bytes": 32
          }
        },
        "output": {
          "asOf": "2026-10-11T14:38:13.528Z",
          "bits": 256,
          "bytes": 32,
          "source": "computed locally",
          "reasons": [
            "Length = ceil(8 x bytes / log2(alphabet size)); padded base64 and base32 round up to groups of 4 and 8 characters.",
            "Base85 here is Ascii85: 4 bytes become 5 characters, a final partial group of r bytes becomes r+1."
          ],
          "summary": "32 bytes: 64 hex characters, 44 base64 (43 unpadded), 56 base32, up to 44 base58.",
          "verdict": "COMPUTED",
          "degraded": false,
          "characters": {
            "hex": 64,
            "octal": 86,
            "binary": 256,
            "decimal": 78,
            "base32Padded": 56,
            "base64Padded": 44,
            "base85Ascii85": 40,
            "base32Unpadded": 52,
            "base64Unpadded": 43,
            "base58MaxForNonZeroLeadingByte": 44
          },
          "disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
          "notChecked": [
            "base58 of data with leading zero bytes (each adds one '1' character) and its exact length, which depends on the value",
            "line wrapping (MIME base64 adds a CRLF every 76 characters)",
            "…1 more"
          ],
          "overheadPercentHex": 100,
          "bytesPer100Characters": {
            "hex": 50,
            "base32": 62,
            "base58": 73,
            "base64": 75,
            "base85": 80
          },
          "overheadPercentBase64": 37.5
        }
      },
      "maxAmountRequired": "20000",
      "maxTimeoutSeconds": 300
    },
    {
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
      "scheme": "exact",
      "network": "polygon",
      "mimeType": "application/json",
      "resource": "https://security-math.x402tookit.com/encoded-length",
      "description": "Encoded length of N bytes in hex, base64, base32, base58, base85, decimal or any base-N alphabet, and bytes per N characters.",
      "outputSchema": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "bytes": 32
          }
        },
        "output": {
          "asOf": "2026-10-11T14:38:13.528Z",
          "bits": 256,
          "bytes": 32,
          "source": "computed locally",
          "reasons": [
            "Length = ceil(8 x bytes / log2(alphabet size)); padded base64 and base32 round up to groups of 4 and 8 characters.",
            "Base85 here is Ascii85: 4 bytes become 5 characters, a final partial group of r bytes becomes r+1."
          ],
          "summary": "32 bytes: 64 hex characters, 44 base64 (43 unpadded), 56 base32, up to 44 base58.",
          "verdict": "COMPUTED",
          "degraded": false,
          "characters": {
            "hex": 64,
            "octal": 86,
            "binary": 256,
            "decimal": 78,
            "base32Padded": 56,
            "base64Padded": 44,
            "base85Ascii85": 40,
            "base32Unpadded": 52,
            "base64Unpadded": 43,
            "base58MaxForNonZeroLeadingByte": 44
          },
          "disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
          "notChecked": [
            "base58 of data with leading zero bytes (each adds one '1' character) and its exact length, which depends on the value",
            "line wrapping (MIME base64 adds a CRLF every 76 characters)",
            "…1 more"
          ],
          "overheadPercentHex": 100,
          "bytesPer100Characters": {
            "hex": 50,
            "base32": 62,
            "base58": 73,
            "base64": 75,
            "base85": 80
          },
          "overheadPercentBase64": 37.5
        }
      },
      "maxAmountRequired": "20000",
      "maxTimeoutSeconds": 300
    }
  ],
  "x402Version": 1,
  "alsoAvailable": {
    "llms": "https://security-math.x402tookit.com/llms.txt",
    "catalog": "https://security-math.x402tookit.com/catalog",
    "message": "Security Math has 8 pay-per-call endpoints (Password entropy, crack-time ranges, NIST key sizes, collision odds, Bloom filter sizing, checksums and Shamir threshold maths.), from $0.02 a call. See the full menu and send your agents our way.",
    "openapi": "https://security-math.x402tookit.com/openapi.json",
    "related": [
      {
        "url": "https://security-math.x402tookit.com/key-size-equivalence",
        "path": "/key-size-equivalence",
        "what": "NIST SP 800-57 comparable strengths: RSA, DH, DSA, ECC and AES key sizes to security bits…",
        "price": "$0.02"
      },
      {
        "url": "https://security-math.x402tookit.com/password-entropy",
        "path": "/password-entropy",
        "what": "Entropy bits for a random password policy, PIN or diceware passphrase from length and alp…",
        "price": "$0.02"
      },
      {
        "url": "https://security-math.x402tookit.com/shamir-threshold",
        "path": "/shamir-threshold",
        "what": "Shamir t-of-n secret sharing maths: qualifying subsets, loss tolerance, recovery and comp…",
        "price": "$0.02"
      }
    ]
  }
}

Accepts

The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.

0.02USDC≈ $0.02 USD
on Base · exact scheme

Pay 0.02 USDC on Base to 0xb531…2DBDa. The signed payment is good for 5 minutes.

USD Coin contract
0x8335…02913
Payment window
5 minutes
As published
20000 smallest units
20000units
on solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · exact scheme

That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.

Token contract
EPjFWd…TDt1v
Payment window
5 minutes
20000units
on Polygon · exact scheme

That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.

Token contract
0x3c49…c3359
Payment window
5 minutes
20000units
on Arbitrum · exact scheme

That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.

Token contract
0xaf88…e5831
Payment window
5 minutes
The catalog’s raw entry
[
  {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "extra": {
      "name": "USD Coin",
      "version": "2"
    },
    "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
    "amount": "20000",
    "scheme": "exact",
    "network": "eip155:8453",
    "maxTimeoutSeconds": 300
  },
  {
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "extra": {
      "feePayer": "D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM"
    },
    "payTo": "DUPiupXtuox38dcGoXUKer5mAydCzmaHjrbQ66qeEm8s",
    "amount": "20000",
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "maxTimeoutSeconds": 300
  },
  {
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "extra": {
      "name": "USD Coin",
      "version": "2"
    },
    "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
    "amount": "20000",
    "scheme": "exact",
    "network": "eip155:137",
    "maxTimeoutSeconds": 300
  },
  {
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "extra": {
      "name": "USD Coin",
      "version": "2"
    },
    "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
    "amount": "20000",
    "scheme": "exact",
    "network": "eip155:42161",
    "maxTimeoutSeconds": 300
  }
]

Extensions

{
  "bazaar": {
    "info": {
      "input": {
        "type": "http",
        "method": "GET",
        "queryParams": {
          "bytes": 32
        }
      },
      "output": {
        "type": "json",
        "example": {
          "asOf": "2026-10-11T14:38:13.528Z",
          "bits": 256,
          "bytes": 32,
          "source": "computed locally",
          "reasons": [
            "Length = ceil(8 x bytes / log2(alphabet size)); padded base64 and base32 round up to groups of 4 and 8 characters.",
            "Base85 here is Ascii85: 4 bytes become 5 characters, a final partial group of r bytes becomes r+1."
          ],
          "summary": "32 bytes: 64 hex characters, 44 base64 (43 unpadded), 56 base32, up to 44 base58.",
          "verdict": "COMPUTED",
          "degraded": false,
          "characters": {
            "hex": 64,
            "octal": 86,
            "binary": 256,
            "decimal": 78,
            "base32Padded": 56,
            "base64Padded": 44,
            "base85Ascii85": 40,
            "base32Unpadded": 52,
            "base64Unpadded": 43,
            "base58MaxForNonZeroLeadingByte": 44
          },
          "disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
          "notChecked": [
            "base58 of data with leading zero bytes (each adds one '1' character) and its exact length, which depends on the value",
            "line wrapping (MIME base64 adds a CRLF every 76 characters)",
            "…1 more"
          ],
          "overheadPercentHex": 100,
          "bytesPer100Characters": {
            "hex": 50,
            "base32": 62,
            "base58": 73,
            "base64": 75,
            "base85": 80
          },
          "overheadPercentBase64": 37.5
        }
      }
    },
    "schema": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "required": [
        "input"
      ],
      "properties": {
        "input": {
          "type": "object",
          "required": [
            "type",
            "method"
          ],
          "properties": {
            "type": {
              "type": "string",
              "const": "http"
            },
            "method": {
              "enum": [
                "GET"
              ],
              "type": "string"
            },
            "queryParams": {
              "type": "object",
              "required": [
                "bytes"
              ],
              "properties": {
                "bytes": {
                  "type": "number",
                  "description": "Number of bytes to encode, 0 to 1e12 (a UUID is 16, a SHA-256 digest is 32)"
                },
                "alphabetSize": {
                  "type": "integer",
                  "description": "Optional custom alphabet size N (2 to 256): adds the length in base-N"
                }
              }
            }
          },
          "additionalProperties": false
        },
        "output": {
          "type": "object",
          "required": [
            "type"
          ],
          "properties": {
            "type": {
              "type": "string"
            },
            "example": {
              "type": "object",
              "properties": {
                "asOf": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "bits": {
                  "type": [
                    "null",
                    "number"
                  ]
                },
                "bytes": {
                  "type": [
                    "null",
                    "number"
                  ]
                },
                "source": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "reasons": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": "string"
                  }
                },
                "summary": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "verdict": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "degraded": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "characters": {
                  "type": [
                    "null",
                    "object"
                  ],
                  "properties": {
                    "hex": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "octal": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "binary": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "decimal": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "base32Padded": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "base64Padded": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "base85Ascii85": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "base32Unpadded": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "base64Unpadded": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "base58MaxForNonZeroLeadingByte": {
                      "type": [
                        "null",
                        "number"
                      ]
                    }
                  }
                },
                "disclaimer": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "notChecked": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": "string"
                  }
                },
                "overheadPercentHex": {
                  "type": [
                    "null",
                    "number"
                  ]
                },
                "bytesPer100Characters": {
                  "type": [
                    "null",
                    "object"
                  ],
                  "properties": {
                    "hex": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "base32": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "base58": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "base64": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "base85": {
                      "type": [
                        "null",
                        "number"
                      ]
                    }
                  }
                },
                "overheadPercentBase64": {
                  "type": [
                    "null",
                    "number"
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}

Provenance

Seen in the source catalog
2026-10-20 20:30Z
Last indexed by Roundhouse
2026-10-22 19:30Z
Last enriched (probe, favicon, geo)
2026-10-20 20:45Z
x402 version
2
Max timeout
300s
Liveness probe
HTTP 402
Report

Hand this page to an agent

Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.

GET api.roundhouseai.io/v0/endpoints

This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 4 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.

Open skill.md
Show the prompt
Using Roundhouse, look up the x402 service Security Math and tell me whether it is
worth paying: what a call costs, whether the endpoint answered when last probed, and what
its payment record actually shows.

curl -s 'https://api.roundhouseai.io/v0/endpoints?q=Security%20Math'
curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>'

Then call it: read the price from the live 402 at https://security-math.x402tookit.com/encoded-length, never from
a cached figure, and pay with an x402 client.

The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except
/v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at
GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at
https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further.

If you do not have Roundhouse tools or skills installed, read
https://roundhouseai.io/skill.md first — it is the whole procedure.