81trust / 100
Password Strength
by Password strength in Security & trust
x402 APIPassing, checked 2 h ago
Score a password's strength: character-set size, entropy bits, a 0–4 rating, and an estimated offline crack time. The password is never stored or logged.
POST https://agent402.tools/api/password-strength
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 186 ms typical, 186 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/password-strength" \
-H "content-type: application/json" \
-d '{"password":"Tr0ub4dour&3"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fpassword-strength
const res = await pay("https://agent402.tools/api/password-strength", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"password":"Tr0ub4dour&3"}),
});
console.log(await res.json());Example input
{
"password": "Tr0ub4dour&3"
}Example output
{
"crackTime": "centuries",
"entropyBits": 72,
"rating": "strong",
"score": 3
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 186 ms | $0.001 |
| 7 h ago | Passed | 402 | 196 ms | $0.001 |