AI agent instructions
AI agent instructions
Parameters
int
default:"20"
The desired length of the password (default: 20)
bool
default:"True"
Whether to include special characters (default: True)
Returns
str: A secure random password string
Raises
ValueError: If length is too short to meet security requirements