decipher
verb [T] 
to discover the meaning of (something written badly or in a difficult or hidden way) 

Can you decipher the writing on this envelope?
They were part of a team whose job was to decipher (messages written in) code.