Giter Site home page Giter Site logo

ntru_msg_recovey_attack's Introduction

NTRU message recovery attack based on VFK lattices

Description

In the present repository we provide code in order to support our paper,
E. Poimenidou, M. Adamoudis, K. Draziotis, K. Tsichlas, Message Recovery Attack in NTRU through VFK Lattices
https://arxiv.org/abs/2311.17022. The code is given in SageMath ver. 9.8. Directory ntru-hps contains the basic experiments providedd in the paper.

Here is a description of the repository:

├── auxiliary
│   └── find_max_k_and_P.sage
├── cvp-naive-attack
│   └── clasic_cvp_attack_ntru.ipynb
├── LICENSE
├── ntru-hps
│   ├── experiments.ipynb
├── README.md

  • In cvp-naive-attack we provide code for the classic cvp attack to ntru. We remark that this attack is not successful for N>50.
  • Directory ntru-hps contains code for the NTRUhps (foollowing the recomendations of the NIST's submission) and a comparison with a previous attack
  • Directory ntru-prime as previous, but for NTRU-Prime.
  • ntru-lattice-vfk-cvp.ipynb contains the implementation of a polynomial CVP exact algorithm for VFK lattices.
  • svp-ntru-vfk.ipynb contains sagemath code for a polynomial algorithm for SVP over VFK lattices.

Authors

credits: Some functions are from https://latticehacks.cr.yp.to/ntru.html

License

This project is licensed under the GPLv2 License

The images are provided with CC BY 2.0

ntru_msg_recovey_attack's People

Contributors

drazioti avatar poimenidou avatar

Stargazers

 avatar

Watchers

 avatar  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.