Implement password generator (#258)