playing with generating an encoded password