Salt is passed by value since any value of that struct is going to be changed.