Unbreak the makesalt function (which has never worked)