A Ministry of Justice spokesman said: "We treat the security of information very seriously and took immediate steps to recover the data as soon as the loss was reported to ensure that it went no further.
"These types of incidents are extremely rare but this does not mean that we are complacent.
"A thorough investigation was held by the prison who immediately altered their procedures, and further changes were implemented across the prison estate."
More top news
ITV News correspondent Duncan Golestani pays tribute to a fearless young Kurdish journalist he trained in Iraq.
ATM machines were affected, while people also reported problems using cards in shops.
Representative Darrell Issa, who is from California, has said there should be a special prosecutor investigating Russian hacking and Trump.