A historian of Government Communications Headquarters (GCHQ) has said decoding puzzles tends to be a "past-time" for mathematicians there, however cryptology has been used since World War One.