renamed function
new createPasswordSalt function