home..

Password generator

tech

LLM Powered Password generator

Great ideas are born out of boredom. The idea of building a password generator is conceived in the toilet while I was going about my daily business. Although this idea is not great by any measure, it is an interesting one to work on. Simple enough develop while working with langchain.

So what is this password generator? What is it trying to solve. Will it be usefull?

Inspiration:

WINDOWS: Please enter your new password.

USER: cabbage

WINDOWS: Sorry, the password must be more than 8 characters.

USER: boiled cabbage

WINDOWS: Sorry, the password must contain 1 numerical character.

USER: 1 boiled cabbage

WINDOWS: Sorry, the password cannot have blank spaces.

USER: 50bloodyboiledcabbages

WINDOWS: Sorry, the password must contain at least one uppercase character.

USER: 50BLOODYboiledcabbages

WINDOWS: Sorry, the password cannot use more than one uppercase character consecutively.

USER: 50BloodyBoiledCabbagesYouStupidIdiotGiveMeAccessNow!

WINDOWS: Sorry, the password cannot contain punctuation.

USER : IWillHuntYouDown50BloodyBoiledCabbagesYouStupidIdiotGiveMeAccessNow

WINDOWS: Sorry, that password is already in use.

My Take of a good password

A good password must be strong yet easy to rememeber. Weak: Password Strong: GrMcS1MmVh!

How is the second password easy to remember? Mnemonic (G)ordon (r)amsey (M)aster (c)hef (S)eason (1) (M)akes (m)e (V)ery (h)ungry

Implementation

  1. Choose a Topic or memorable code that is relatable
  2. Ask LLM to come up with a mnemonic
  3. Throw in some random mutation. e.g. Letter O to 0, A to 4 etct
  4. Add in some punctuations strategically
© 2024 Junhao Ho   •  Theme  Moonwalk