Two bombs rocked Algeria on Friday, one ripping through a crowded market killing at least 35 people and injuring about 80, as the country marked the 40th anniversary of independence. The market bomb near Algiers, the deadliest single attack on civilians this year, was followed by a second blast at a beach — also near the capital — in which two bathers were injured, security sources said. No group claimed responsibility, but the government blamed Islamic rebels who have been accused of carrying out many similar bombings over the past nine years. The first bomb tore through the market at Larba, 25 km south of Algiers at 9.15 a.m. The device was hidden inside a heap of garbage bags just at the entrance to the market. ‘‘The death toll climbed to at least 35 as seriously wounded people died later at hospital,’’ a hospital official said. The number of injured in the blast was put at around 80. The second bomb exploded about four hours later on a beach near the high-security Sidi Frej area outside Algiers where senior government officials and their families live. (Reuters)