The Copiale cipher is an encrypted manuscript consisting of 75,000 handwritten characters filling 105 pages in a bound volume. Undeciphered for more than 260 years, the document was cracked in 2011 with the help of modern computer techniques. An international team consisting of Kevin Knight of the University of Southern California Information Sciences Institute and USC Viterbi School of Engineering, along with Beáta Megyesi and Christiane Schaefer of Uppsala University in Sweden, found the cipher to be an encrypted German text. The manuscript is a homophonic cipher that uses a complex substitution code, including symbols and letters, for its text and spaces.
Previously examined by scientists at the German Academy of Sciences at Berlin in the 1970s, the cipher was thought to date from between 1760 and 1780. Decipherment revealed that the document had been created in the 1730s by a secret society called the "high enlightened (Hocherleuchtete) oculist order" of Wolfenbüttel, or Oculists. The Oculists used sight as a metaphor for knowledge.
The Copiale cipher includes abstract symbols, as well as letters from Greek and most of the Roman alphabet. The only plain text in the book is "Copiales 3" at the end and "Philipp 1866" on the flyleaf. Philipp is thought to have been an owner of the manuscript. The plain-text letters of the message were found to be encoded by accented Roman letters, Greek letters and symbols, with unaccented Roman letters serving only to represent spaces.
The researchers found that the initial 16 pages describe an Oculist initiation ceremony. The manuscript portrays, among other things, an initiation ritual in which the candidate is asked to read a blank piece of paper and, on confessing inability to do so, is given eyeglasses and asked to try again, and then again after washing the eyes with a cloth, followed by an "operation" in which a single eyebrow hair is plucked.
The Copiale cipher is a substitution cipher. It is not a 1-for-1 substitution but rather a homophonic cipher: each ciphertext character stands for a particular plaintext character, but several ciphertext characters may encode the same plaintext character. For example, all the unaccented Roman characters encode a space. Seven ciphertext characters encode the single letter "e". In addition, some ciphertext characters stand for several characters or even a word. One ciphertext character ("†") encodes "sch", and another encodes the secret society's name.
A machine translation expert, Knight approached language translation as if all languages were ciphers, effectively treating foreign words as symbols for English words. His approach, which tasked an expectation-maximization algorithm with generating every possible match of foreign and English words, enabled the algorithm to figure out a few words with each pass. A comparison with 80 languages confirmed that the original language was likely German, which the researchers had guessed based on the word "Philipp," a German spelling. Knight then used a combination of intuition and computing techniques to decipher most of the code in a few weeks. Megyesi later realized that a particular symbol meant "eye", and Schaefer connected that discovery to the Oculists.
The Oculists were a group of ophthalmologists led by Count Friedrich August von Veltheim, who died in April 1775. The Philipp 1866 Copiales 3 document, however, appears to suggest that the Oculists, or at least Count Veltheim, were a group of Freemasons who created the Oculist society in order to pass along the Masonic rites which had recently been banned by Pope Clement XII.
- "Computer Scientist Cracks Mysterious 'Copiale Cipher'". American Association for the Advancement of Science. October 25, 2011.
- New York Times: John Markoff, "How revolutionary tools cracked a 1700s code," October 24, 2011, retrieved October 25, 2011
- "Rätsel nach 250 Jahren gelöst: Forscher entschlüsseln mysteriöse Geheimschrift". bild.de. Retrieved May 13, 2020.
-  Archived 2011-11-12 at the Wayback Machine (the complete proceedings) or  (the relevant presentation): Knight, Kevin, Megyesi, Beáta and Schaefer, Christiane "The Copiale Cipher," Proceedings of the 4th Workshop on building and using comparable corpora, pages 2–9, 49th Annual Meeting of the Association for Comparable Linguistics, 24 June 2011. Retrieved October 25, 2011
- Knight, Kevin; Megyesi, Beáta; Schaefer, Christiane (2011). "The Copiale Cipher". Uppsala Universitet, Institutionen för lingvistik och filologi website. Retrieved 2011-10-25. Includes images of the full text, as well as full translations in German and English.
- Henning, Aloys "Eine frühe Loge des 18. Jahrhunderts: 'Die Hocherleuchtete Oculisten-Gesellschaft' in Wolfenbüttel", in: Europa in der frühen Neuzeit, Festschrift für Günter Mühlpfordt 5, Aufklärung in Europa, hg. Erich Donnert, Köln/Weimar/Wien 1999, S. 65–82.
- Shactman, Noah (16 November 2012). "They Cracked This 250-Year-Old Code, and Found a Secret Society Inside". Wired. 20 (12). Retrieved 2 November 2013.
- on YouTube, on the official USC channel.
- Shachtman, Noah (Nov 16, 2012). "They Cracked This 250-Year-Old Code, and Found a Secret Society Inside". Wired. 20 (12). Retrieved May 13, 2020 – via www.wired.com.
- Boyle, Alan (October 25, 2011). "Secret society's code cracked". MSNBC. Archived from the original on November 2, 2011. Retrieved October 25, 2011.
- James D. Hodgkins (April 2012). "The Copiale Cipher: An Early German Masonic Ritual Unveiled". scottishrite.org. Retrieved 1 July 2018.