[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-505047-105":59,"doc-detail-505047-en":131},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","automatic-generation-of-declarative-models-for-differential-cryptanalysis-article","Automatic Generation of Declarative Models For Differential Cryptanalysis - Article","","Automatic generation of declarative models supports differential cryptanalysis for symmetric block ciphers by computing Truncated Differential Characteristics (TDCs), which yield bounds on attack complexity. TDCs are commonly modeled with CP, SAT, or ILP, but building correct and efficient solver models is costly. This paper presents Tagada, taking an operational cipher description with black-box operators and bipartite DAGs, then generating constraints and MiniZinc models to model operator semantics. Experiments on TDC-based single-key and related-key attacks across AES, Craft, Midori, and Skinny show competitive results versus state of the art.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/automatic-generation-of-declarative-models-for-differential-cryptanalysis-article/505047/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/automatic-generation-of-declarative-models-for-differential-cryptanalysis-article/505047.png","ImageObject",300,407,{"name":92,"@type":93},"Stanford","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-07","2026-10-04",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",11,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What problem does the paper address in differential cryptanalysis model building?","Question",{"text":113,"@type":114},"It addresses the difficulty of designing accurate and efficient declarative models for solvers used to compute truncated differential characteristics, which is error-prone and time-consuming.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How does Tagada generate models from a cipher description?",{"text":118,"@type":114},"Tagada takes an operational description of the cipher using black-box operators and bipartite DAGs, then automatically generates constraints modeling operator semantics and produces MiniZinc models.",{"name":120,"@type":111,"acceptedAnswer":121},"What are Step1-opt and Step1-enum used for?",{"text":122,"@type":114},"Step1-opt finds a TDC with a minimal number of differences passing through non-linear operators, while Step1-enum enumerates TDCs for a given number of such differences.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},505047,1791150878,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":146,"preview_page_count":19,"preview_urls":147},2336477552062,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","Automatic Generation of Declarative Models For Differential Cryptanalysis  \nLuc Libralesso  \nLIMOS, CNRS UMR 6158, University Clermont Auvergne, Aubière, France  \nFrançois Delobel  \nLIMOS, CNRS UMR 6158, University Clermont Auvergne, Aubière, France  \nPascal Lafourcade  \nLIMOS, CNRS UMR 6158, University Clermont Auvergne, Aubière, France  \nChristine Solnon  \nINSA Lyon, CITI, INRIA CHROMA, F-69621 Villeurbanne, France  \n~~ Abstract ~~  \nWhen designing a new symmetric block cipher, it is necessary to evaluate its robustness against differential attacks. This is done by computing Truncated Differential Characteristics (TDCs) that provide bounds on the complexity of these attacks. TDCs are often computed by using declarative approaches such as CP (Constraint Programming), SAT, or ILP (Integer Linear Programming) . However, designing accurate and efficient models for these solvers is a difficult, error-prone and time-consuming task, and it requires advanced skills on both symmetric cryptography and solvers.  \nIn this paper, we describe a tool for automatically generating these models, called Tagada (Tool for Automatic Generation of Abstraction-based Differential Attacks) . The input of Tagada is an operational description of the cipher by means of black-box operators and bipartite Directed Acyclic Graphs (DAGs) . Given this description, we show how to automatically generate constraints that model operator semantics, and how to generate MiniZinc models. We experimentally evaluate our approach on two different kinds of differential attacks (e.g., single-key and related-key) and four different symmetric block ciphers (e.g. , the AES (Advanced Encryption Standard), Craft, Midori, and Skinny) . We show that our automatically generated models are competitive with state-of-the-art approaches. These automatically generated models constitute a new benchmark composed of eight optimization problems and eight enumeration problems, with instances of increasing size in each problem. We experimentally compare CP, SAT, and ILP solvers on this new benchmark.  \n2012 ACM Subject Classification Security and privacy → Cryptanalysis and other attacks Keywords and phrases Constraint Programming, SAT, ILP, Differential Cryptanalysis Digital Object Identifier 10.4230/LIPIcs.CP.2021.40  \nSupplementary Material  \nSoftware (Source Code): [https://gitlab.limos.fr/iia_lulibral/tagada/](https://gitlab.limos.fr/iia_lulibral/tagada/)[ ](https://gitlab.limos.fr/iia_lulibral/tagada/)archived at swh:1:dir:43b1382c69c9612241160a8bfb9e019e90927539  \nDataset (Models and Results): [https://gitlab.limos.fr/iia_lulibral/experiment-results](https://gitlab.limos.fr/iia_lulibral/experiment-results)[ ](https://gitlab.limos.fr/iia_lulibral/experiment-results)archived at swh:1:dir:f691fc943675263dab923d092f5a6508bae79ff6  \nFunding This work has been partially supported by the French government research program“Investissements d’Avenir” through the IDEX-ISITE initiative 16-IDEX-0001 (CAP 20-25) and the IMobS3 Laboratory of Excellence (ANR-10-LABX-16-01) and the French ANR PRC grant MobiS5 (ANR-18-CE39-0019), DECRYPT (ANR-18-CE39-0007), SEVERITAS (ANR-20-CE39-0005) .  \n 1  Introduction  \nSymmetric cryptography provides algorithms for ciphering a text given a secret key. Differential cryptanalysis is a well-known attack technique that aims at checking if the key can be guessed by introducing differences and studying their propagation during the ciphering process [6] . To evaluate the robustness of a new ciphering algorithm towards differential  \n© Luc Libralesso, François Delobel, Pascal Lafourcade, and Christine Solnon;  \nlicensed under Creative Commons License CC-BY 4.0  \n27th International Conference on Principles and Practice of Constraint Programming (CP 2021) .  \nEditor: Laurent D. Michel; Article No. 40; pp. 40:1–40:18  \nLeibniz International Proceedings in Informatics  \n Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl Publishing, Germany  \n40:2 Automatic Generat","cbCail835dLpnbW7","https://ap.wps.com/l/cbCail835dLpnbW7","pdf",1150393,18,"English","# Introduction\n## Contributions and Overview of the Paper","[{\"question\":\"What problem does the paper address in differential cryptanalysis model building?\",\"answer\":\"It addresses the difficulty of designing accurate and efficient declarative models for solvers used to compute truncated differential characteristics, which is error-prone and time-consuming.\"},{\"question\":\"How does Tagada generate models from a cipher description?\",\"answer\":\"Tagada takes an operational description of the cipher using black-box operators and bipartite DAGs, then automatically generates constraints modeling operator semantics and produces MiniZinc models.\"},{\"question\":\"What are Step1-opt and Step1-enum used for?\",\"answer\":\"Step1-opt finds a TDC with a minimal number of differences passing through non-linear operators, while Step1-enum enumerates TDCs for a given number of such differences.\"}]","Automatic Generation of Declarative Models For Differential Cryptanalysis - Article | PDF",1791087253,45,[148,152,156,160],{"page_no":8,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/abe2cbc936752a0785335106c0176b50.webp",983,1390,{"page_no":14,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/c15bfd49b2dfe77c3f6de11bb05a4cf2.webp",982,1388,{"page_no":81,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/f3614e2cce95b6f0a235ac05f3e2fe5d.webp",981,1387,{"page_no":19,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/63a3fa0961c01d58f3fa0cf3e2ad212c.webp",980,1385]