In 1563,
Giambattista della Porta devised the first bigraphic substitution. However, it was nothing more than a matrix of symbols. In practice, it would have been all but impossible to memorize, and carrying around the table would lead to risks of falling into enemy hands. In 1854,
Charles Wheatstone came up with the
Playfair cipher, a keyword-based system that could be performed on paper in the field. This was followed up over the next fifty years with the closely related
four-square and
two-square ciphers, which are slightly more cumbersome but offer slightly better security. In 1929,
Lester S. Hill developed the
Hill cipher, which uses matrix algebra to encrypt blocks of any desired length. However, encryption is very difficult to perform by hand for any sufficiently large block size, although it has been implemented by machine or computer. This is therefore on the frontier between classical and modern cryptography. ==Cryptanalysis of general polygraphic substitutions==