Recently, Israel revealed that someone (unnamed) had been trying to hack into key Israeli networks (government, military, infrastructure), and had, so far, failed. The mystery attacker is believed to have been Iran. Israel is going public with a lot of this Cyber War stuff in an attempt to put Iran on the defensive. But there's more.
Over the last year, Israel has revealed that its cryptography operation (Unit 8200) has added computer hacking to its skill set. Last year, the head of Israeli Military Intelligence said that he believed Israel had become the leading practitioner of Cyber War. This came in the wake of suspicions that Israel had created the Stuxnet worm, that got into Iran's nuclear fuel enrichment equipment, and destroyed a lot of it. Recently, Iran complained that another worm, called Star, was causing them trouble. Usually, intelligence organizations keep quiet about their capabilities, but in this case, the Israelis apparently felt it was more useful to scare the Iranians, with the threat of more stuff like Stuxnet.
This struggle between Israel and Iran is nothing new. Seven years ago, Israel announced that Unit 8200 had cracked an Iranian communications code, an operation that allowed Israel to read messages concerning Iranian efforts to keep its nuclear weapons program going (with Pakistani help), despite Iranian promises to UN weapons inspectors that the program was being shut down. It's long been known that Unit 8200 of the Israeli army specialized in cracking codes for the government. This was known because so many men who had served in Unit 8200 went on to start companies specializing in cryptography (coding information so that no unauthorized personnel can know what the data is.) But it is unusual for a code-cracking organization to admit to deciphering someone's code. Perhaps the Iranians stopped using the code in question, or perhaps the Israelis just wanted to scare the Iranians. Israel is very concerned about Iran getting nuclear weapons, mainly because the Islamic conservatives that control Iran have as one of their primary goals the destruction of Israel. In response to these Iranian threats, Israel has said that it will do whatever it takes to stop Iran from getting nukes. This apparently includes doing the unthinkable (or a code cracking outfit); admitting that you had successfully taken apart an opponent's secret code.
Israel is trying to convince Iran that a long-time superiority in code-breaking was now accompanied by similar hacking skills. Whether it's true or not, it's got to have rattled the Iranians. The failure of their counterattacks can only have added to their unease.
Cryptography is a fascinating field. People have been creating and breaking codes since Biblical times but things really heated up during World War II with the German Enigma machines, and again in the 1970s with public key cryptography.
Today, in theory it is possible to encrypt data so that it can never be cracked in (literally) a million years. However, when there are flaws in the cryptographic algorithms, or when the cryptographic keys are not protected, encrypted data is still susceptible to being broken. Flaws in well-known algorithms are increasingly rare because they are published and available for anyone to review.
I'm curious what algorithm Iran used until Israel broke it.