Press the flag, enter the password length, and voila! You have a password. Oh - and if you don't like the password, press the green flag and try again.
100% code by me, scratch cat is from scratch team