fixed password encryption script