Paint and epoxy are temporary corrosion protection for rebars till it reach its final destination and covered with concrete. Galvanized rebars, though expensive, have a long-term corrosion protection.