Practical Cryptography: "Playfair Cipher"

Read about Playfair's algorithm and cryptanalysis and then go through the JavaScript example.