Ee was replacing hoist cylinders on a CAT 777. The cylinder was hooked to a crane. Slack in the crane attachment allowed the cylinder to move, crushing the ee's right hand between the hoist cylinder and the fuel tank. The ee was diagnosed with a fracture to the right ring finger.