Change the password generator algorithm