At a glanceExisting decipherment · complete
- From
- Tāj al-Dīn, overseer of Qaṭyā
- To
- Ibn al-Durayhim
- Where
- University of Pennsylvania, Kislak Center, LJS 51. f. 102v l.11-12 (image 0209); f. 102v l.13-13 (image 0209); f. 103r l.1-2 (image 0210)
- 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 0209 · Manuscript image 0210
- Where
- f. 102v l.11-12 (image 0209); f. 102v l.13-13 (image 0209); f. 103r l.1-2 (image 0210)
- Signs
- 73 (chain record (by-eye count on the master))
- Earlier chain record, signs per line (102v.11)
- 38, 35; word groups written as Arabic words; the spaces do not keep the word boundaries (e.g. اتمدكل = دامت + لك)
- Sign inventory (102v.11)
- ordinary Arabic letters: a transposition (maqlub) of each word, not a substitution
- Cipher as written
- اتمدكل لعامنا اعهبس بيتقوام ردط لجا دالحبر فا / ان نم ذا اكترذ نقهبام قصر لمنازا صفقولهر دا
- Rule
- Each plaintext word is written with its even-position letters first, in order (2nd, 4th, ...), then its odd-position letters in reverse order (... 3rd, 1st). E.g. دامت (d1 a2 m3 t4) -> ا ت م د = اتمد; لك -> كل; النعما (hamza dropped) -> ل ع ا + م ن ا = لعامنا; سابغة -> ا غ + ة ب س = اعهبس; وبقيت -> ب ي + ت ق و = بيتقو; ما -> ام; طرد -> ردط; الدجى -> لج + ى د ا (ى written ا) = لجادا; الفجر -> لج + ر ف ا = لجرفا (written لحبر فا, with one extra tooth); يا -> اى; من -> نم; اذا -> ذاا; ذكرت -> كترذ; مناقبه -> نقه + بام = نقهبام; رقص -> قصر; الزمان -> لمن + ازا = لمنازا; وصفق -> صق + فو = صقفو (written صفقو); الدهر -> له + ردا = لهردا. The words are then run together and re-spaced arbitrarily, so it looks like a substitution text.
- Comparison with the clear copy
- fits: 73 cipher letters vs 72 (as the cipher has it, 37 + 35; the page's plaintext has 70 + hamza). The cipher's form differs from the written plaintext in one word: the cipher has ما after وبقيت (بيتقو + ام: وبقيت ما طرد), which the page omits (وبقيت طرد); the hamza of النعماء is not enciphered; one extra tooth in لحبر (copying slip). Second hemistich letter for letter.
02 Reading
Full transcription
دامت لك النعماء سابغة وبقيت طرد الدجى الفجر / يا من اذا ذكرت مناقبه رقص الزمان وصفق الدهر(103r l.1-2; certainty high; 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.
- May blessings stay with you, ample, - and may you remain [as long as] the dawn drives away the dark; - O you at whose virtues, when they are told, - Time dances and Fate claps its hands!
kamil (it scans with the cipher's وبقيت ما طرد, not with written وبقيت طرد). a panegyric couplet. The cipher has ما after وبقيت (بيتقو + ام), "and may you remain as long as (ma) the dawn drives away the dark", which the page leaves out; the metre and the sense both want it (record; see the suspected errors). It does not encipher the hamza of النعماء and has one extra tooth in لحبر (record). Taj al-Din (son of?) Taj al-Din, overseer of Qatya, wrote it in front of the compiler, expecting him to take it for a substitution; it is "one of the kinds of cipher mentioned in my book *Miftah al-kunuz fi hall al-marmuz*, from the chapter of the inverted (al-maqlub)". The compiler solved it at once, "and he was astonished; and it is easy". Poet: not stated. 102v l.6-10 (translated in full in the last section); 102v l.13: "I solved it at once, and he was astonished; and it is easy".
Translation notes and confidence
03 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, “Tāj al-Dīn, overseer of Qaṭyā → Ibn al-Durayhim · cipher 102v.11”, Cyphersolver, posted 29 November 2026, updated 30 November 2026, repository commit 5abf8bd9aa, https://cyphersolver.com/ljs51-cipher-102v-11.html.