lib/utils: move lagann/main.reply into a util function
lib/utils: add simple password hashing function