Al-Qalqashandi
Shihāb al-Dīn Abū 'l-Abbās Aḥmad ibn ‘Alī ibn Aḥmad ‘Abd Allāh al-Qalqashandī al-Fazari or al-Qalqashandī , was a medieval Egyptian encyclopedist, polymath and mathematician. A native of the Nile Delta, he became a Scribe of the Scroll, or clerk of the Mamluk chancery in Cairo, Egypt. His magnum opus is the voluminous administrative encyclopedia Ṣubḥ al-Aʿshá.''Ṣubḥ al-aʿshā''
Ṣubḥ al-Aʿshá fī Ṣināʿat al-Inshāʾ ; a fourteen-volume encyclopedia completed in 1412, is an administrative manual on geography, political history, natural history, zoology, mineralogy, cosmography, and time measurement. Based on the Masālik al-abṣār fī mamālik al-amṣar of Shihab al-Umari, it has been called "one of the final expressions of the genre of Arabic administrative literature". Selections on "Seats of Government " and "Regulations of the Kingdom " from Early Islam to the Mamluks' have been published separately. Ibn al-Durayhim wrote a book on cryptology that described the section on the same topic from Al-Ṣubḥ al-aʿshā. Durayhim is also the source for an exposition on, and worked example of, cryptanalysis, including the use of tables of letter frequencies and sets of letters which cannot occur together in one word. The Ṣubḥ al-aʿshā was the first published discussion of the substitution and transposition of ciphers, and the first description of a polyalphabetic cipher, in which each plaintext letter is assigned more than one substitution.