Codebase for reproducing the `AI for Code-based Cryptography` paper. It contains code to train a Transformer-based distinguisher and to generate different linear code samples such as Goppa codes, alternant codes, and QC-MDPC codes. -
View it on GitHub