reduce hash complexity of user passwd