Shihab al-Din abu 'l-Abbas Ahmad ben Ali ben Ahmad Abd Allah al-Qalqashandi (1355 or 1356 – 1418) was a medieval Egyptian writer and mathematician.
Born in a village in the Nile Delta, al-Qalqashandi was scribe of the scroll (katib al-darj) in the Mamluk chancery in Cairo. He is the author of Subh al-a 'sha, completed in fourteen volumes in 1412, "one of the final expressions of the genre of Arabic administrative literature".
The Subh al-a 'sha included a section on cryptology. This information was attributed to Ibn al-Durayhim who lived from 1312 to 1361, but whose writings on cryptology have been lost. The list of ciphers in this work included both substitution and transposition, and for the first time, a cipher with multiple substitutions for each plaintext letter. Also traced to Ibn al-Durayhim is an exposition on and worked example of cryptanalysis, including the use of tables of letter frequencies and sets of letters which can not occur together in one word.