Catalog/gen-password

Generators

Seeded password from policy API

Generates a reproducible password that satisfies a character-class policy (upper/lower/digits/symbols), guaranteeing at least one char from each enabled class. The value-add: deterministic, policy-compliant passwords for fixtures (uses an ambiguity-free charset). Answers 'Generate a reproducible strong password from this seed', 'How do I deterministically build a policy-compliant password?'.

Price$0.02per request
MethodPOST
Route/v1/generate/password
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
passwordpolicydeterministicseedcredentialsfixturegeneratesecret
API URLhttps://x402.hexl.dev/v1/generate/password
Integration docs
Example request
{
  "seed": "abc",
  "length": 12
}
Example response
{
  "password": "=umrb3iX^2N2",
  "length": 12,
  "classes": {
    "upper": true,
    "lower": true,
    "digits": true,
    "symbols": true
  },
  "seed": "abc",
  "deterministic": true,
  "interpretation": "Reproducible password satisfying the policy; guaranteed >=1 char from each enabled class."
}
Input schema
{
  "type": "object",
  "required": [
    "seed"
  ],
  "properties": {
    "seed": {
      "type": [
        "string",
        "number"
      ],
      "examples": [
        "abc"
      ]
    },
    "length": {
      "type": "integer",
      "minimum": 4,
      "maximum": 256,
      "examples": [
        12,
        16
      ]
    },
    "upper": {
      "type": "boolean"
    },
    "lower": {
      "type": "boolean"
    },
    "digits": {
      "type": "boolean"
    },
    "symbols": {
      "type": "boolean"
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}