Reed Solomon encoding