fixes #881 new password generator

advanced strong password generator function added
warning fix