Iran agreed to measures that bar its way to the development of a nuclear weapon in return for the signing of the nuclear deal and its removal of the most damaging economic sanctions, against areas such as oil exports and central bank activities.
On Sunday, Salehi was quoted as saying that Tehran needs only four days to ramp up its uranium enrichment at the Fordow nuclear plant, if the USA withdraws from the deal.
The attack comes just a day after the U.S., the European Union, as well as North Atlantic Treaty Organisation member Turkey, had accused the Syrian government of using chemical weapons in Douma, Eastern Ghouta.
"The attack apparently affected 200,000 router switches across the world in a widespread attack, including 3,500 switches in our country", Iran's news agency IRNA quoted the Communication and Information Technology Ministry.
These comments are supposed to "warn" the United States and the other signatories to the nuclear deal against making changes to the deal, which at present largely benefit Iran and no other country.
Under the 2015 agreement, Iran promised to scale back its nuclear enrichment and give up its pursuit of nuclear weapons.
The Trump administration is nearing a critical decision on its participation in Iran's nuclear deal, and political feuding at home raises pressure on Rouhani to deliver a stronger economy for ordinary Iranians.
Fars News, which the Post described as being close to Iran's Islamic Revolutionary Guard Corps, reported that at least four Iranian "military advisers" were killed in the strike.
He said "preparations have already been made" without giving more details. Rouhani underlined that Iran will never seek anyone's permission for nuclear research, but it is ready for constructive cooperation.
"Our ability for reversal in other areas will be far greater than before", he said.
In this photo released by an official website of the office of the Iranian Presidency, President Hassan Rouhani speaks in a ceremony to mark National Nuclear Day, dedicated to the country's achievements in nuclear technology, in Tehran, Iran, April 9, 2018. "There is a common understanding that we need to move towards the use of national currencies in our settlements". The deadline falls on May 12.