Moved unsafe (and dumb) call to srand() out of salt generator to its proper place.