configurable length, charset, entropy score
curl -s 'https://api.whittly.dev/v1/password?length=20&upper=true&lower=true&digits=true&symbols=true&count=5' \
-H 'Authorization: Bearer $WHITTLY_API_KEY'
const res = await fetch(
'https://api.whittly.dev/v1/password?length=20&upper=true&lower=true&digits=true&symbols=true&count=5',
{ headers: { Authorization: 'Bearer ' + apiKey } }
);
const data = await res.json();
const { data } = await axios.get(
'https://api.whittly.dev/v1/password?length=20&upper=true&lower=true&digits=true&symbols=true&count=5',
{ headers: { Authorization: 'Bearer ' + apiKey } }
);
A strong password is long, random, and uses a diverse character set. This generator uses the browser's cryptographically secure random number generator (crypto.getRandomValues) to produce passwords that cannot be predicted even if an attacker knows the algorithm.