Polybius square

The Greek letters of a Polybius square

The Polybius square, also known as the Polybius checkerboard, is a device invented by the ancient Greeks Cleoxenus and Democleitus, and made famous by the historian and scholar Polybius.[1] The device is used for fractionating plaintext characters so that they can be represented by a smaller set of symbols, which is useful for telegraphy, steganography, and cryptography. The device was originally used for fire signalling, allowing for the coded transmission of any message, not just a finite number of predetermined options as was the convention before.[1]

Basic form

According to Polybius' Histories, the device was invented by Cleoxenus and Democleitus, and further developed by Polybius himself. The device partitioned the alphabet into five tablets with five letters each (except for the last one with only four). There are no surviving tablets from antiquity. Letters are represented by two numbers from one to five, allowing the representation of 25 characters using only 5 numeric symbols.

The original square used the Greek alphabet laid out as follows:

1 2 3 4 5
1 Α Β Γ Δ Ε
2 Ζ Η Θ Ι Κ
3 Λ Μ Ν Ξ Ο
4 Π Ρ Σ Τ Υ
5 Φ Χ Ψ Ω

Modern Greek still uses that same alphabet, as do implementations of the Polybius square in that language.

With the Latin alphabet, this is the typical form:

1 2 3 4 5
1 A B C D E
2 F G H I/J K
3 L M N O P
4 Q R S T U
5 V W X Y Z

This alphabet, and this latter form of the Polybius square, is used when implementing the square in other Western European languages such as English, Spanish, French, German, Italian, Portuguese, and Dutch.

Each letter is then represented by its coordinates in the grid. For example, "BAT" becomes "12 11 44". The 26 letters of the Latin/English alphabet do not fit in a 5 × 5 square, two letters must be combined (usually I and J as above, though C and K is an alternative). Alternatively, a 6 × 6 grid may be used to allow numerals or special characters to be included as well as letters.

A 6 × 6 grid is also usually used for the Cyrillic alphabet (the most common variant has 33 letters, but some have up to 37) [citation needed] or Japanese hiragana (see cryptography in Japan).

A key could be used to reorder the alphabet in the square, with the letters (without duplicates) of the key being placed at the beginning and the remaining letters following it in alphabetical order.[2] For example, the key phrase "polybius cipher" would lead to the reordered square below.

1 2 3 4 5
1 P O L Y B
2 I/J U S C H
3 E R A D F
4 G K M N Q
5 T V W X Z

Encryption Principle

There are several encryption methods using the Polybius square. Three of them are described below.

1 2 3 4 5
1 A B C D E
2 F G H I/J K
3 L M N O P
4 Q R S T U
5 V W X Y Z

Method 1

Let's encrypt the word "SOMETEXT" with a Caesar cipher using a shift equal to the side of our square (5). To do it, locate the letter of the text and insert the one immediately below it in the same column for the ciphertext. If the letter is in the bottom row, take the one from the top of the same column.

Letter of the text s o m e t e x t
Cipher text letter x t r k y k c y

Thus, after encryption, we get:

Before encryption: sometext
After encryption: xtrkykcy

Method 2

A more complicated method involves a Bifid cipher without a key (or, in other words, with a key of plain alphabet):

1 2 3 4 5
1 A B C D E
2 F G H I/J K
3 L M N O P
4 Q R S T U
5 V W X Y Z

The message is transformed into coordinates on the Polybius square, and the coordinates are recorded vertically:

Letter s o m e t e x t
Horizontal coordinate: 3 4 2 5 4 5 3 4
Vertical coordinate: 4 3 3 1 4 1 5 4


Then the coordinates are read row by row:

34  25  45  34  43  31  41  54  

Next, the coordinates are converted into letters using the same square:

Horizontal coordinate: 3 2 4 3 4 3 4 5
Vertical coordinate: 4 5 5 4 3 1 1 4
Letter s w y s o c d u

Thus, after encryption, we get:

Before encryption: sometext
After encryption: swysocdu

Method 3

1 2 3 4 5
1 A B C D E
2 F G H I/J K
3 L M N O P
4 Q R S T U
5 V W X Y Z

An advanced variation, which involves the following: the obtained primary ciphertext (result From Method2) is encrypted again. In this case, it is written out without being split into pairs.

3425453443314154

The resulting sequence of digits is cyclically shifted to the left by one step (an odd number of steps (move 3 to the end)):

4254534433141543

This sequence is again divided into groups of two:

42 54 53 44 33 14 15 43

And is replaced with the final ciphertext according to the table:

Horizontal coordinate: 4 5 5 4 3 1 1 4
Vertical coordinate: 2 4 3 4 3 4 5 3
Letter i u p t n q v o

Thus, after encryption, we get:

Before encryption: sometext
After encryption: iuptnqvo


Applications

Telegraphy

Diagram of a fire signal using the Polybius cipher

In his Histories, Polybius outlines the need for effective signalling in warfare, leading to the development of the square. Previously, fire-signalling was useful only for expected, predetermined messages, with no way to convey novel messages about unexpected events.[1] According to Polybius, in the 4th century BCE, Aeneas Tacticus devised a hydraulic semaphore system consisting of matching vessels with sectioned rods labelled with different messages such as "Heavy Infantry", "Ships", and "Corn".[1] This system was slightly better than the basic fire-signalling, but still lacked the ability to convey any needed message. The Polybius square was used to aid in telegraphy, specifically fire-signalling. To send a message, the sender would initially hold up two torches and wait for the recipient to do the same to signal that they were ready to receive the message.[1] The sender would then hold up the first set of torches on his left side to indicate to the recipient which tablet (or row of the square) was to be consulted. The sender would then raise a set of torches on his right side to indicate which letter on the tablet was intended for the message.[1] Both parties would need the same tablets, a telescope (a tube to narrow view, no real magnification), and torches.[1]

The Polybius square has also been used in the form of the "knock code" to signal messages between cells in prisons by tapping the numbers on pipes or walls.[2] It is said to have been used by nihilist prisoners of the Russian Czars and also by US prisoners of war during the Vietnam War.[3]

Arthur Koestler describes the code being used by political prisoners of Stalin in the 1930s in his anti-totalitarian novel Darkness at Noon. (Koestler had been a prisoner-of-war during the Spanish Civil War.) Indeed, it can be signalled in many simple ways (flashing lamps, blasts of sound, drums, smoke signals) and is much easier to learn than more sophisticated codes like the Morse code. However, it is also somewhat less efficient than more complex codes.

Steganography

The simple representation also lends itself to steganography. The figures from one to five can be indicated by knots in a string, stitches on a quilt, contiguous letters before a wider space or many other ways.[3]

Cryptography

The Polybius square is also used as a basic cipher called the Polybius cipher. This cipher is quite insecure by modern standards, as it is a substitution cipher with characters being substituted for pairs of digits, which is easily broken through frequency analysis.[2]

Adaptations

The Polybius square and the Polybius cipher can be combined with other cryptographic methods such as the ADFGVX cipher,[2] Homophonic cipher [2] and more.

See also

References

  1. ^ a b c d e f g "Polybius • Histories — Book 10". penelope.uchicago.edu. Retrieved 2020-04-13.
  2. ^ a b c d e Salomon, D. (David), 1938- (2011). Data privacy and security : encryption and information hiding. Springer. ISBN 978-1-4419-1816-1. OCLC 752480143.{{cite book}}: CS1 maint: multiple names: authors list (link) CS1 maint: numeric names: authors list (link)
  3. ^ a b Daniel Rodriguez-Clark. "Cryptography Worksheet — Polybius Square" (PDF). Crypto Corner. pp. 1–3. 


Read other articles:

В Википедии есть статьи о других людях с такой фамилией, см. Ким; Ким, Алексей. Алексей Ростиславович Ким Дата рождения 21 сентября 1958(1958-09-21) (65 лет) Принадлежность  СССР →  Россия Род войск Сухопутные войска Годы службы 1979 — н. в. Звание генерал-полковник Часть Г

Мезьєр-ле-МецMaizières-lès-Metz   Країна  Франція Регіон Гранд-Ест  Департамент Мозель  Округ Мец Кантон Мезьєр-ле-Мец Код INSEE 57433 Поштові індекси 57280 Координати 49°12′45″ пн. ш. 6°09′42″ сх. д.H G O Висота 159 - 206 м.н.р.м. Площа 8,92 км² Населення 11 776 (01-2020[1]) Густота ...

Cygnus cygnus Cet article est une ébauche concernant les oiseaux. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations du projet ornithologie. Cygnus cygnus Cygne chanteur (Cygnus cygnus)Classification COI Règne Animalia Embranchement Chordata Classe Aves Ordre Anseriformes Famille Anatidae Genre Cygnus EspèceCygnus cygnus(Linnaeus, 1758) Répartition géographique Statut de conservation UICN LC  : Préoccupation mineure Synonymes A...

Coordenadas: 46° 24' 47 N 5° 0' 03 E Saint-Étienne-sur-Reyssouze   Comuna francesa    Localização Saint-Étienne-sur-ReyssouzeLocalização de Saint-Étienne-sur-Reyssouze na França Coordenadas 46° 24' 47 N 5° 0' 03 E País  França Região Auvérnia-Ródano-Alpes Departamento Ain Administração Prefeito Françoise Thénoz; (2008-2012) Características geográficas Área total 13,82 km² População total (2018) [...

  لمعانٍ أخرى، طالع بلدة سالم (توضيح). هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (يوليو 2021) بلدة سالم (بالإنجليزية: Qurayyat Salim)‏ هي بلدة تقع في العاصمة عمان شمال غرب الأردن. [1] بلدة سالم موقع بلدة سالم الإحدا

Gradisca d’Isonzo Gradisca d’Isonzo (Italien) Staat Italien Region Friaul-Julisch Venetien Koordinaten 45° 53′ N, 13° 30′ O45.88888888888913.49472222222232Koordinaten: 45° 53′ 20″ N, 13° 29′ 41″ O Höhe 32 m s.l.m. Fläche 10 km² Einwohner 6.370 (31. Dez. 2022)[1] Postleitzahl 34072 Vorwahl 0481 ISTAT-Nummer 031008 Bezeichnung der Bewohner Gradiscani Schutzpatron San Pietro und San Paolo Website Offi...

У Вікіпедії є статті про інших людей із прізвищем Котляревський. |Батько= |Посада= |Діти= |Дружина= |Мати= Котляревський Олександр Олександрович Народився 1837(1837)КременчукПомер 29 вересня (11 жовтня) 1881(1881-10-11) Піза, ІталіяКраїна Російська імперіяНаціональність українецьДіяльн

Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Brainware – berita · surat kabar · buku · cendekiawan · JSTOR Brainware adalah orang yang menggunakan, memakai ataupun mengoprasikan perangkat komputer. Contoh dari brainware yaitu programmer, netter (se...

У Вікіпедії є статті про інших людей із прізвищем Кузьмінський. Олександр Кузьмінський  Генерал-хорунжий Загальна інформаціяНародження 30 серпня 1884(1884-08-30)ТульчинСмерть 27 квітня 1975(1975-04-27) (90 років)Торонто,  КанадаAlma Mater Одеське військове училищеВійськова службаПрин�...

State Legislative Assembly Constituency in Tamil Nadu SankarapuramConstituency for the Tamil Nadu Legislative AssemblyConstituency detailsCountryIndiaRegionSouth IndiaStateTamil NaduDistrictKallakurichiLS constituencyKallakurichiTotal electors2,68,535[1]Member of Legislative Assembly16th Tamil Nadu Legislative AssemblyIncumbent T. Udhayasuriyan Party  DMKElected year2021 Sankarapuram is a state assembly constituency in kallakurichi district of Tamil Nadu, India.[2] I...

Tushita Meditation CentreReligionAffiliationTibetan BuddhismSectGelugLocationCountryIndiaLocation in Himachal Pradesh, IndiaGeographic coordinates32°14′19″N 76°19′26″E / 32.238602°N 76.323878°E / 32.238602; 76.323878ArchitectureFounderLama Thubten Yeshe and Lama Zopa RinpocheDate established1972 Tushita is a centre for the study and practice of Buddhism from the Tibetan Mahayana tradition in Himachal Pradesh in northern India. It is located in the forested ...

Scottish courtier Magdalen Livingstone (floruit 1560–1613) was a Scottish courtier. She was a favoured lady-in-waiting to Mary, Queen of Scots, and later belonged to the household of Prince Henry. Magdalen Livingstone had a chamber at Stirling Castle Mary, Queen of Scots She was a daughter of Alexander Livingston, 5th Lord Livingston and Agnes Douglas, daughter of John Douglas, 2nd Earl of Morton. Her older sister Mary Livingston was also a lady-in-waiting of the queen, and one of the well-...

Pionering (Pioneering dalam bahasa Inggris) adalah salah satu teknik pramuka dalam penggunaan peralatan tongkat dan tali yang dirangkai menjadi sebuah model suatu objek, Seperti bangunan kreatif, tandu, menara pandang kaki tiga, menara segitiga terbalik, menara kaki empat, dan alat-alat lain nya,Dalam tali temali kita sering mencampuradukkan antara tali, simpul dan ikatan. Hal ini sebenarnya berbeda sama sekali. Bedanya Tali adalah bendanya. Simpul adalah hubungan antara tali dengan tali. Ika...

1906 German Type U 1 submarine For other ships with the same name, see German submarine U-1. SM U-1 at sea History German Empire NameU-1[2] Ordered3 December 1904[1] BuilderGermaniawerft, Kiel Cost1,905,000 Goldmark Yard number119[1] Laid downOctober 1905[1] Launched4 August 1906[1] Commissioned14 December 1906[1] Decommissioned19 February 1919[2] StatusOn display in the Deutsches Museum in Munich, Germany[2] General characterist...

Kelaparan terkait pandemi COVID-19Perkiraan kerawanan pangan akut pada 2020 menggunakan skala Integrated Food Security Phase Classification (IPC)   Fase 1 (Minimal)   Fase 2 (Stres)   Fase 3 (Krisis)   Fase 4 (Darurat)   Fase 5 (Kritis)   Tidak ada data   Tidak ada daftar   Daftar tidak diklasifikasikan   Berisiko minoritas   Hotspot yang muncul Tanggal01 Desember 2019 (2019-12-01)–sekar...

Argentine singer-songwriter (born 1978) This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) The topic of this article may not meet Wikipedia's notability guideline for biographies. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cann...

Yahudi Aljazairيهود الجزائر Juifs d’AlgérieLokasi Aljazair di AfrikaJumlah populasi<200[1](2020)Daerah dengan populasi signifikanAljirBahasaArab, Prancis, BerberAgamaAgama YahudiKelompok etnik terkaitYahudi (YahudiMaghrebi) Yahudi-Aljazair merujuk kepada komunitas Yahudi di Aljazair, yang bermula sejak abad ke-1 Masehi. Pada abad ke-15, sebagian besar Yahudi Spanyol kabur ke Maghreb, yang meliputi Aljazair pada saat ini, usai pengusiran dari Spanyol dan Portugal; bebe...

Mansion in Valparaíso, Chile Polanco PalacePolanco Palace in 2006General informationArchitectural styleHistoricist architecture. Late eclectic architecture, with Neo-Baroque elements[1]LocationValparaíso, ChileAddressLas Heras 202CountryChileCoordinates33°02′43″S 71°37′01″W / 33.04515°S 71.617047°W / -33.04515; -71.617047Construction started1901Completed1903Renovated2016-2017LandlordCarabiniers of ChileTechnical detailsFloor count3 plus basementFl...

Election in Virginia Main article: 1932 United States presidential election 1932 United States presidential election in Virginia ← 1928 November 8, 1932 1936 →   Nominee Franklin D. Roosevelt Herbert Hoover Party Democratic Republican Home state New York Iowa Running mate John N. Garner Charles Curtis Electoral vote 11 0 Popular vote 203,979 89,637 Percentage 68.46% 30.09% County Results Roosevelt   50-60%   60-70%   ...

2002 video gameContra: Shattered SoldierNorth American box art illustrated by Ashley Wood,portraying the protagonists Bill and LuciaDeveloper(s)Team Kijirushi[a]Publisher(s)KonamiDirector(s)Nobuya NakazatoProducer(s)Nobuya NakazatoComposer(s)Akira YamaokaSota FujimoriSeriesContraPlatform(s)PlayStation 2, PlayStation NetworkReleasePlayStation 2NA: October 22, 2002JP: November 14, 2002EU: February 14, 2003PlayStation Network JP: July 25, 2012NA: June 11, 2013Genre(s)Run and gunMode(s)Si...