Lighting up an LED after entering a "password"

And here are some functions that you can use to compare the input string to your password.