A 35-year-old Iranian web programmer is facing imminent execution in connection with developing and promoting porn websites, charges that his family insist are trumped up.

Saeed Malekpour, a permanent resident of Canada who was arrested in October 2008 after his arrival in Tehran, is convicted of designing and moderating adult content websites, acting against the national security, insulting and desecrating the principles of Islam, and agitating the public mind.

Speaking from Toronto, Malekpour's wife, Fatemeh Eftekhari, said her husband has been informed of the verdict and has been transferred to solitary confinement for the sentence to be administered if the supreme court sanctions it. She says her husband was a web programmer who had written photo uploading software that was used in a porn website without his knowledge.

Human rights groups have expressed alarm over a sharp increase in the use of capital punishment in Iran. According to the International Campaign for Human Rights in Iran (ICHRI), 121 people have been hanged between 20 December 2010 and 31 January this year. An ICHRI report published in mid-January said that Iran has hanged an average of one person every eight hours since the beginning of the new year.

Last week prosecutor general Abbas Jafari Dolatabadi told reporters in Tehran that two people had been sentenced to death for running porn websites, without naming the convicts.

"Two administrators of porn sites have been sentenced to death in two different court branches and the verdicts have been sent to the supreme court for confirmation," Dolatabadi was quoted by IRNA state news agency as saying.

Malekpour, who has been kept in Tehran's notorious Evin prison for the past two years, was arrested by plainclothes officers and was initially kept in solitary confinement for almost a year without access to legal representation.

"For a long period we even didn't know that he was arrested," Eftekhari said. According to Eftekhari, Malekpour's arrest was in the face of a new crackdown by Iranian government on "indecent" websites in 2008 to fight what they had described as "the campaign launched by western governments to corrupt Iranian youth".

A year after his arrest Malekpour was put on state television to confess. He later retracted the confessions in a letter sent from inside prison in which he said they were taken under duress.

"A large portion of my confession was extracted under pressure, physical and psychological torture, threats to myself and my family, and false promises of immediate release upon giving a false confession to whatever the interrogators dictated," he writes in the letter.

"Once in October 2008 the interrogators stripped me while I was blindfolded and threatened to rape me with a bottle of water." He went on to say: "While I remained blindfolded and handcuffed, several individuals armed with cables, batons, and their fists struck and punched me. At times, they would flog my head and neck. Such mistreatment was aimed at forcing me to write what the interrogators were dictating, and to compel me to play a role in front of the camera based on their scenarios."

Eftekhari said: "Even if my husband's charges were true, which they are not, it's hard to imagine why he should be sentenced to death. I think Iran is trying to intimidate the opposition or any sign of protest by sentencing an unprecedented numbers of prisoners to death."

Malekpour's sentence has prompted reactions from human rights activists and organisations who have launched a campaign to save his life. Lawrence Cannon, the Canadian foreign affairs minister, has also expressed concerns over his sentence.

Gloria Nafziger of Amnesty International in Canada, an organisation which has sought for Malekpour's sentence to be commuted said: "Amnesty International is very concerned that Saeed Malekpour is facing a death sentence in Iran after an unfair trial and reports that he was tortured in order to confess to his crimes."

Last month Iran executed Zahra Bahrami, a Dutch-Iranian woman convicted of drug smuggling, which resulted in a freeze of the Dutch diplomatic contacts with Iran.