At a glanceExisting decipherment · complete
- From
- The writer referred to as the master
- To
- Shihāb al-Dīn al-Ṣafadī
- Exchange note
- Al-Ṣafadī gave the compiler a copy of the cipher.
- Where
- University of Pennsylvania, Kislak Center, LJS 51. f. 101v l.11-13 (image 0207); f. 102r l.1-6 (image 0208); f. 102r l.7-9 (image 0208)
- How the text was obtained
- The manuscript preserves the full reading. The Arabic below is the corpus transcription, with doubtful text marked in the source.
Ibn al-Durayhim’s Cipher Casebook (Penn LJS 51) and cipher index
01 Manuscript and ciphertext



Open the full scans: Manuscript image 0207 · Manuscript image 0208
- Where
- f. 101v l.11-13 (image 0207); f. 102r l.1-6 (image 0208); f. 102r l.7-9 (image 0208)
- Signs
- 72 (by-eye record keys_eye/102r.1.json)
- Signs per line in the by-eye record
- 102r_l01: 13, 102r_l02: 13, 102r_l03: 12, 102r_l04: 12, 102r_l05: 13, 102r_l06: 9
- Word groups reported in the earlier record (102r.1)
- 18
- Sign inventory (102r.1)
- numeral- and letter-like glyphs: inverted V ٨ (= alif), U (= ya'), H-slash // (= ha'), long ba-stroke (= jim), 4-cross (= ta'), b-loop (= qaf), 'ayn-hook (= waw), small flat ha (= lam), 9-loop (= dal), triangle (= nun), d-loop (= zay), curly sin (= ra'); divider = dotted alif stroke; no red gloss
Signs in reading order
102r_l01: S1 S2 S3 S4 | S5 S6 S3 S5 S2 | S2 S7 | S4 S8 102r_l02: S2 S9 S10 | S11 S12 S13 | S14 S13 | S10 S8 S14 | S15 S3 | 102r_l03: S8 S16 S3 S13 | S9 S17 S8 S3 S8 | S9 S18 S2 102r_l04: S19 | S20 S21 S2 S14 | S8 S2 S14 S6 S2 | S22 S23 102r_l05: S15 S3 S1 S13 | S15 S23 S22 S13 S4 S13 | S22 S11 S1 102r_l06: S2 | S14 S12 S3 S13 | S24 S14 S3 S8 |
02 Reading
Full transcription
رايت قويقا اذ تجاوز حده له زجل في جريه وضجيج وكان ثعال جالسا بشفيره فشبهته بحرا لديه خليج(as enciphered, from the by-eye key in keys_eye/102r.1.json; written copy 102r l.8-9; answered in full)
English translation
This translation follows the manuscript’s clear copy as recorded in the corpus translation files. Where it differs, the Arabic above follows the sign alignment.
- I saw the Quwayq when it had overstepped its bounds, - with a roaring in its course and a clamour; - and Thu'al [?] was sitting [بشفين; the cipher has probably بشفتيه, "with his two lips" (open?)], - and I likened him to a throat (nahr; read nahr, "a river"?) with a gulf (khalij, also "a canal") beside it.
tawil (the first hemistich scans with the cipher's تجاوز, not with written جاوز; the second verse was not scanned). two verses "by Mu'izz al-Dawla" (so al-Safadi told the compiler), on the Quwayq, which the compiler glosses as "the river of Aleppo" (102r l.10): a small stream, here in flood. The second verse is not clear to me. It seems to set a man beside the river and liken him, mouth open, to a river with a canal: a joke on someone's lips or mouth, but I cannot fix it. ثعال is written undotted-looking (نعاك / ثعال), and the cipher has four signs ending alif-lam (record). Thimal, the name of the Mirdasid Mu'izz al-Dawla of Aleppo, would come to mind (my note; not checked), but it has a mim, and the compiler says the cipher has "no mim in it and no definite article"; the verse as read has neither. اذ جاوز is written اذجا وزحده, with the space in the wrong place. The cipher has five signs for جاوز, the first being the ta of رايت, so تجاوز; and six signs for بشفين, ending in the ha sign (record). Shihab al-Din al-Safadi had been unable to solve it; the compiler solved it "quickly despite its difficulty". Poet: Mu'izz al-Dawla (named by al-Safadi, as reported by the compiler; not checked). 101v l.11-13 (last section); 102r l.7: "I solved it quickly despite its difficulty; there was no mim in it and no definite article, and it is"; 102r l.10: "Quwayq is the river of Aleppo".
Translation notes and confidence
03 Key
The signs of this cipher’s alphabet, with the Arabic letter each stands for in the key rebuilt from the compiler’s plaintext (24 signs, 72 occurrences placed on the page). The key was read by eye and then checked sign by sign in the master list of all signs, where every occurrence can be seen; the number links there.
| Sign | On the page | Letter | Times |
|---|---|---|---|
| S1 | ر | 3 | |
| S2 | ا | 9 | |
| S3 | ي | 8 | |
| S4 | ت | 3 | |
| S5 | ق | 2 | |
| S6 | و / س | 2 | |
| S7 | ذ | 1 | |
| S8 | ج | 7 | |
| S9 | و | 3 | |
| S10 | ز | 2 | |
| S11 | ح | 2 | |
| S12 | د | 2 | |
| S13 | ه | 7 | |
| S14 | ل | 6 | |
| S15 | ف | 3 | |
| S16 | ر | 1 | |
| S17 | ض | 1 | |
| S18 | ك | 1 | |
| S19 | ن | 1 | |
| S20 | ث | 1 | |
| S21 | ع | 1 | |
| S22 | ب | 3 | |
| S23 | ش | 2 | |
| S24 | خ | 1 |
04 Sources
The corpus transcriptions were made with AI assistance. The source records give the evidence and uncertainties for this cipher.
- University of Pennsylvania manuscript facsimile and metadata
- Cipher transcription
- Arabic transcription and textual evidence
- Sign-by-sign key record or inventory
Cite this page
Daniel Bourdeau, “The writer referred to as the master → Shihāb al-Dīn al-Ṣafadī · cipher 102r.1”, Cyphersolver, posted 29 November 2026, updated 30 November 2026, repository commit 5abf8bd9aa, https://cyphersolver.com/ljs51-cipher-102r-1.html.