A Romanian man was sentenced Wednesday to two years in prison for attaching a skimming device and pinhole camera to an ATM in Cambridge to steal financial information, federal prosecutors said. Razvan Pascu, also known as Razvan Anghel, 32, was also ordered to pay $24,215 in restitution and will be on supervised release for one year once out out prison, US Attorney Carmen M. Ortiz’s office said. Pascu pleaded guilty to aggravated identity theft charges in July, prosecutors said. Pascu, along with an accomplice, attached a skimming device to an Eastern Bank ATM in Cambridge on April 30, 2011, prosecutors said. Melissa Werthmann can be reached at email@example.com.