All guides

How the Generator Works

CSPRNG, 10 dictionaries and entropy explained.

Updated

Cryptographically secure generator

The Geslar generator uses CSPRNG (Cryptographically Secure Pseudo-Random Number Generator) from the Web Crypto API — a cryptographically secure source of randomness built into the browser. Selection is unbiased, so no character or word is more likely than another: every generated character is cryptographically unpredictable.

10 Croatian dictionaries, 6,000+ standard words

Standard Croatian words
Common Croatian words, mostly nouns and adjectives — understandable to everyone.
8 dialects
Čakavian, Dalmatian, Dubrovnik, Istrian, Kajkavian, Međimurje, Slavonian and Zagorje — for users who want a local touch.
Bigger pool, more entropy
Use dialects together with the standard dictionary — the larger the word pool, the harder the phrase is to guess. If the active pool is too small, the generator warns you.
Metaphors and idioms
2,500+ Croatian metaphors and fixed expressions — more memorable than individual words, but with less entropy than random words. For a master password, use random words.

For English: EFF Diceware dictionary (7,700+ words) + English idioms. Switch between HR/EN with one click.

Entropy — measuring security

Entropy measures how unpredictable a password is. More bits = more secure. Here's a comparison:

John2024!
~28 bits of entropy. An attacker can guess this in seconds.
xK7$mP2q#R9!
~74 bits of entropy. Strong but difficult to remember.
meadow-cloud-chocolate-chestnut
~52 bits of entropy with the English list (~51 with the Croatian dictionary). Easier to remember, and with 5 words it increases to ~63–65 bits.
The more words, the better. For important accounts and your master password we recommend 5 or more words. Geslar additionally protects the master password with Argon2id, which makes every guessing attempt slow.

How the password generator works

  1. CSPRNG generates random values (Web Crypto API: crypto.getRandomValues()).
  2. The values are mapped without bias to the selected character set (lowercase plus, optionally, uppercase, numbers, special characters and Croatian letters). At least one character from each enabled group is guaranteed, then the order is randomly shuffled.
  3. The no look-alike characters option removes l, I, 1, O, 0 — useful when the password needs to be typed manually.
  4. Generated passwords aren't checked automatically; you can manually check a password you already use against Have I Been Pwned in the Security check tab at geslar.app (k-anonymity).

How the passphrase generator works

  1. CSPRNG generates a random index for each word.
  2. The index is used to select a word from the chosen dictionary.
  3. Words are joined with the chosen separator (dash, underscore, dot, space or none); if you select several, each one is picked at random.
  4. A number or special character adds a little entropy. Capital first letters make the phrase easier to read but don't add entropy.

Did not find an answer? Write to us