Giter Site home page Giter Site logo

4-rabin-mehdibouchet's Introduction

Rabin

On considère un cryptosystème de Rabin pour l'entier de 1024 bits

n = 27328417631308277322150562883314533200963002826716705199968875674106406752147424222024338127563628593224661592571938485301935882942995461145895711114923374531636454291853327561820612951870422339965236147439814490182689636048215824374569331866443582899661940664297395527208577159582046566117830509217529095109

Pour assurer la sécurité du système, on impose de ne chiffrer que des messages dont les 10 derniers bits sont 1010101010.

Pour un chiffré c = [m^2,kronecker(m,c),m%2], c->dechiffre(c) renvoie le message m, s'il satisfait à la condition sur les 12 derniers bits.

Déterminer le plus petit facteur de n.

Format

Vous devez écrire un programme main.gp en Pari/GP dont l'exécution via

gp -fq < main.gp

affiche (uniquement) la solution cherchée.

taper make check permet de vérifier que votre solution est bonne.

Veillez à mettre des commentaires sur votre démarche et sa validité dans le fichier main.gp.

Validation

Il reste à faire un commit et à envoyer votre solution pour l'enregistrer

git add main.gp
git commit -m 'ma solution'
git push

4-rabin-mehdibouchet's People

Contributors

github-classroom[bot] avatar mehdibouchet 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.