GnistAI GnistAI
Log in

Password Generator

Secure password, passphrase, and PIN generator with strength estimation.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 type: calculator type type calculator calculator lifecycle: maintained lifecycle lifecycle maintained maintained Utilities

Data source: Algorithmic (secrets module)

REST Bridge Endpoint https://context.gnist.ai/rest/password-generator/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (5)

generate_password

Generate a cryptographically secure random password.

Returns the password, its length, character sets used, and entropy in bits.

ParameterTypeRequiredDescription
lengthintegeroptionalPassword length (4-128). (default: 16)
uppercasebooleanoptionalInclude uppercase letters. (default: true)
lowercasebooleanoptionalInclude lowercase letters. (default: true)
digitsbooleanoptionalInclude digits. (default: true)
symbolsbooleanoptionalInclude symbols. (default: true)
exclude_ambiguousbooleanoptionalExclude ambiguous characters (0/O, 1/l/I, etc.). (default: false)
Request Body
{
  "query": "example"
}
generate_passphrase

Generate a passphrase from random dictionary words.

Returns the passphrase, word count, separator, and entropy in bits.

ParameterTypeRequiredDescription
wordsintegeroptionalNumber of words (2-12). (default: 4)
separatorstringoptionalWord separator character. (default: "-")
capitalizebooleanoptionalCapitalize each word. (default: false)
Request Body
{
  "query": "example"
}
generate_pin

Generate a cryptographically secure numeric PIN.

Returns the PIN, its length, and entropy in bits.

ParameterTypeRequiredDescription
lengthintegeroptionalPIN length (4-12). (default: 6)
Request Body
{
  "query": "example"
}
check_password_strength

Estimate the strength of a given password.

Returns a score (0-4), label (very_weak/weak/fair/strong/very_strong), entropy in bits, and feedback.

ParameterTypeRequiredDescription
passwordstringrequiredPassword to evaluate.
Request Body
{
  "password": "example"
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
Request Body
{
  "feedback": "example"
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/rest/password-generator/check_password_strength" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"password": "example"}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/rest/password-generator/check_password_strength",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={
  "password": "example"
},
)
print(resp.json())

Related Toolkits (Utilities)

Resources