At a glanceExisting decipherment · complete
- From
- Al-ʿAlāʾī, the patron
- To
- Shaykh Ibrāhīm of Tripoli
- Where
- University of Pennsylvania, Kislak Center, LJS 51. f. 78r l.12-13 (image 0160); f. 78v l.1-5 (image 0161); f. 78v l.6-10 (image 0161)
- 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 0160 · Manuscript image 0161
- Where
- f. 78r l.12-13 (image 0160); f. 78v l.1-5 (image 0161); f. 78v l.6-10 (image 0161)
- Signs
- 88 (by-eye record keys_eye/78r.12.json)
- Signs per line in the by-eye record
- 78r_l12: 14, 78r_l13: 15, 78v_l01: 14, 78v_l02: 13, 78v_l03: 13, 78v_l04: 15, 78v_l05: 4
- Word groups reported in the earlier record (78r.12)
- 28
- Sign inventory (78r.12)
- angular Latin/Greek-like letters: X (= ya, the most frequent), 1 (= alif), small circle (= dal), a reversed C/⊐ (= ra), T (= ta) and T with a dot (= tha), a heart (= mim), ε (= ha), 9 (= waw), ⅃ (= lam), T with a fork, a comb; dividers a stroke with three dots above
Signs in reading order
78r_l12: S1 S2 | S3 S4 S5 | S6 S7 | S8 S9 S10 | S11 S12 S4 S5 | 78r_l13: S13 S12 S2 | S14 S4 S5 S2 | S15 S16 | S17 S18 S5 | S5 S2 S1 | 78v_l01: S19 S10 S2 | S20 S12 S21 S2 | S22 S23 S1 | S24 S4 S5 S2 | 78v_l02: S25 S2 S23 S2 | S26 S21 S16 | S27 S3 S2 | S16 S21 S2 | 78v_l03: S28 S21 S12 | S23 S29 | S30 S4 S5 S2 | S18 S7 | S21 S2 | 78v_l04: S7 S16 S31 | S32 S12 S7 | S10 S7 | S12 S1 S21 S25 S4 | S21 S1 | 78v_l05: S2 S33 S5 S2 |
02 Reading
Full transcription
اي بدر تم ثقه جودر حوي خدري دع ذكر ريا زهي سولي شفا صدري ضيفي طلع ظبي علي غلو في قدري كم لي معه نوم هم والضد لا يدري(as enciphered, from the by-eye key in keys_eye/78r.12.json; written copy 78v l.7-10; 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.
(the sense is strained by design): - What a full moon (badr tamm), a trusty one, a fawn (jawdhar), has come into my chamber (khidri)! - Leave the mention of Rayya; my wish is in bloom, - the cure of my breast: - my guest has appeared, a gazelle; my standing has risen high; - how many a sleep I have had with him, [هم: "they"? "cares"?], - and the rival does not know.
not scanned. The short lines (شفا صدري, والضد لا يدري) and the rhyme in -dri (خدري, صدري, قدري, يدري) suggest a strophic, zajal-like form. an alphabet acrostic, "in the order of the letters" ('ala nasaq al-huruf): each word begins with the next letter of the Arabic alphabet, from alif to ya, with lam-alif in its traditional place before ya: | letter | word | letter | word | letter | word | |---|---|---|---|---|---| | ا | اي | ز | زهي | ق | قدري | | ب | بدر | س | سولي | ك | كم | | ت | تم | ش | شفا | ل | لي | | ث | ثقه | ص | صدري | م | معه | | ج | جودر | ض | ضيفي | ن | نوم | | ح | حوى | ط | طلع | ه | هم | | خ | خدري | ظ | ظبي | و | والضد | | د | دع | ع | علي | لا | لا | | ذ | ذكر | غ | غلو | ي | يدري | | ر | ريا | ف | في | | | That is 29 words, one for each of the 28 letters and lam-alif. The constraint is why the words are odd: جودر is jawdhar, the young of the wild cow (a stock image for a beauty's eyes), written without the hamza and with dal; سولي is su'li "my wish"; Rayya is a stock name for a beloved. The cipher was the master's, sent to Shaykh Ibrahim al-Wazfi [?] in Tripoli, and Shaykh Shihab al-Din the translator said that he solved it. The cipher has only ر ي for ريا, with no divider before زهي (record). After the plaintext the compiler adds (78v l.6): "this I wrote in an old pen, with which I found things in a book", which refers to the alphabet. Poet: the master (as sender; authorship not stated). 78r l.9-11: "then the aforementioned master wrote to the shaykh Ibrahim al-Wazfi [?], resident in Tripoli, ... in the order of the letters, and the shaykh Shihab al-Din al-Mutarjim said that he solved it and sent it ...; and it is"; 78v l.6 (above).
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 (29 signs, 85 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 | ا | 4 | |
| S2 | ي | 16 | |
| S3 | ب | 2 | |
| S4 | د | 7 | |
| S5 | ر | 8 | |
| S6 | ت | 1 | |
| S7 | م | 5 | |
| S8 | ث | 1 | |
| S9 | ق | 1 | |
| S10 | ه | 4 | |
| S11 | ج | 1 | |
| S12 | و | 6 | |
| S13 | ح | 1 | |
| S14 | خ | 1 | |
| S16 | ع | 4 | |
| S17 | ذ | 1 | |
| S18 | ك | 2 | |
| S19 | ز | 1 | |
| S20 | س | 1 | |
| S21 | ل | 6 | |
| S22 | ش | 1 | |
| S23 | ف | 3 | |
| S24 | ص | 1 | |
| S25 | ض | 2 | |
| S26 | ط | 1 | |
| S27 | ظ | 1 | |
| S28 | غ | 1 | |
| S30 | ق | 1 | |
| S32 | ن | 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, “Al-ʿAlāʾī, the patron → Shaykh Ibrāhīm of Tripoli · cipher 78r.12”, Cyphersolver, posted 29 November 2026, updated 30 November 2026, repository commit 5abf8bd9aa, https://cyphersolver.com/ljs51-cipher-78r-12.html.