While using a hydraulic cylinder to straighten bent flanges on a dragline mast, the cylinder dislocated, sprung from position and struck 2 employees approx. 8 feet away from the cylinder in their protective safety headgear. Employee 1 recieved a minor contusion to the forehead and Employee 2 recieved contusions, cuts and fracture from impact of the cylinder to his safety glasses