Use an attr_accessor instead of method for salt so it is easier to set.