There was a television series (British?) featuring some of the tales mentioned in David Kahn's book. The TV series could be a good introduction for children. Another book of interest may be Crypto by Stephen Levy - Viking Penguin 2001. Which relates how "rebels beat the (U.S.) government - saving privacy in the Digital Age".
Nice, I'll look that up he love Nova like science programs.