Charles Babbage and deciphering codes (1864)(mathshistory.st-andrews.ac.uk)