The US treasury was one of the departments hit by the hack.