//basic notepad editor with password feature