GET
tool-password
公开接口 累计 1 次/api/v1/tool-password
批量生成高强度随机密码
/api/v1/tool-password
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
length |
integer |
可选 | 16 |
密码长度 |
count |
integer |
可选 | 1 |
生成数量 |
upper |
boolean |
可选 | 1 |
包含大写字母 |
lower |
boolean |
可选 | 1 |
包含小写字母 |
digits |
boolean |
可选 | 1 |
包含数字 |
symbols |
boolean |
可选 | |
包含符号 |
exclude_ambiguous |
boolean |
可选 | |
排除易混淆字符 |
{
"ok": true,
"data": {
"result": {
"passwords": [
"Xk9#mQ2vLp8@Rt4s"
],
"length": 16,
"count": 1
}
}
}
curl -X GET '/api/v1/tool-password?length=16&count=1&upper=1&lower=1&digits=1&symbols=&exclude_ambiguous='