Giter Site home page Giter Site logo

amphancm / automatic-preimage-attack-framework-on-ascon-xof Goto Github PK

View Code? Open in Web Editor NEW

This project forked from huinali/automatic-preimage-attack-framework-on-ascon-xof

0.0 0.0 0.0 963 KB

The source codes and results are used to help verify the results in our paper.

License: MIT License

Python 100.00%

automatic-preimage-attack-framework-on-ascon-xof's Introduction

Automatic-Preimage-Attack-Framework-on-Ascon-Using-a-Linearize-and-Guess-Approach

Contents of the files:

  1. structure_search: the code to generate SAT models searching for n-1 round structure used in n-round preimage attack on Ascon-Xof.

Note that please first set up your SageMath environment and then run our python file.

How to set up SageMath environment?

First step: conda setup

  1. install miniconda: https://docs.conda.io/en/latest/miniconda.html bash Miniconda3-latest-Linux-x86_64.sh Note: if you have error "UnicodeDecodeError: ‘ascii‘ codec can‘t decode byte", just type command: export LC_ALL=C.UTF-8 source ~/.bashrc delete previous environment:
    conda env remove -n name

Second Step: sagemath install

  1. set conda-forge:
    conda config --add channels conda-forge
  2. change to restrict mode:
    conda config --set channel_priority strict
  3. create a conda environment named sage:
    conda create -n sage sage python=3.9
  4. note: you can change the environment name as you like
    conda create -n {name} sage python=3.9

automatic-preimage-attack-framework-on-ascon-xof's People

Contributors

huinali avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.