Вы находитесь на странице: 1из 2

Universit e Hassan II-Mohammedia F.S.T.

Mohammedia D epartement de Math ematiques

Ann. Univ. 2009-10 Fili` ere Ing enieur ILIS Module : Cryptographie

TD 1. CHIFFREMENT A CLE PUBLIQUE

Exercice 1. Soient p = 3, q = 13, n = pq et e = 29 les param` etres dun syst` eme RSA. a) Calculer d tel que : ed 1 mod (n). b) Chirer par RSA le message M = 2 et v erier en d echirant le r esultat obtenu. Exercice 2. Soient n = 11 13 et e = 7. i) Chirer le message M = 9 par le cryptosyst` eme RSA de module n et dexposant publique e. ii) Calculer la cl e priv e puis d echirer le nombre 8. Exercice 3. Dans un syst` eme ` a cl e publique utilisant le RSA, vous interceptez le cryptogramme C qui vaut 10 envoy e par un utilisateur dont lexposant publique e est 5 et le module n est 35. Que vaut le message clair M ? Exercice 4. Dans un cryptosyst` eme RSA, trois clients poss` edent les cl es publiques (n1 ,e1 ), (n2 ,e2 ) et (n3 ,e3 ) , avec e1 = e2 = e3 = 3 et les modules n1 ,n2 ,n3 premiers deux ` a deux. Une banque envoie le m eme message M , chir e en C1 ,C2 ,C3 pour les trois clients. D emontrer que si Oscar intercepte C1 ,C2 et C3 , alors, il peut d ecrypter le message M . On pourra se servir du th eor` eme chinois des restes. Exercice 5. Dans un cryptosyst` eme RSA, Alice et Bob poss` edent respectivement les cl es publiques (n,e1 ) et (n,e2 ), avec pgcd(e1 ,e2 ) = 1. Une banque envoie le m eme message M , crypt e en C1 pour Alice et en C2 pour Bob. D emontrer que si Oscar intercepte C1 et C2 , alors, il peut retrouver le message M . Exercice 6. Dans un cryptosyst` eme RSA, Alice poss` ede la cl e publique (n,e). Bob lui envoie le message M crypt e en C . Oscar intercepte C et envoie ` a Alice le chirement de X e C o` u X < n est un nombre pris au hasard par Oscar. Alice d echire X e C en Y et trouve un texte incompr ehensible quelle ne prend pas la pr ecaution de prot eger. D emontrer que si Oscar r ecup` ere le texte Y , alors, il peut retrouver le message M . e publique dun syt` eme de Rabin est 1333. Pour vous aider, le d etenteur Exercice 7. La cl de la cl e priv ee vous informe que le clair M qui correspond au cryptogramme C = 1063 est 499. Une autre fois, lorsque vous le lui redemander (pour le m eme cryptogramme) il 1

Universit e Hassan II-Mohammedia

Ann. Univ. 2009-10

vous r epond que le clair M est 1144. V erier ces informations et utiliser les pour factoriser la cl e publique. Exercice 8. Soit n = 713 un module de Rabin et C = 289 un cryptogramme obtenu par le chirement de Rabin avec ce module. D eterminer tous les messages en clair possibles. Exercice 9. Pour envoyer des messages chir es a Alice, Bob utilise le cryptosyst` eme de Rabin de module n = 253 = 11 23. Les messages en clair sont des blocs pris dans {0,1}8 dans lesquels le premier et le dernier bit sont egaux. Est-ce que Alice peut d echirer sans ambiguit e tous les messages? Exercice 10. Dans une variante du cryptosyst` eme de Rabin, la cl e publique est un couple (n,b) et la cl e priv ee est la factorisation n = pq o` u p et q sont deux nombres premiers. Pour un message M < n, le cryptogramme est : C = M (M + b) [n]. 1) D ecrire un algorithme et/ou une formule pour d echirer le C . On suppose que p = 19, q = 59 et b = 135. 2.a) Calculer les quatre racines carr ees de 1 modulo n. 2.b) Calculer le cryptogramme C du message M = 999. 2.c) Quels sont les quatre textes clairs possibles pour C ? Exercice 11. 1) V erier que 2 est un el ement primitif dans lanneau ( Neectuez que deux exponentiations. et un g en erateur a = 2. a) La cl e priv ee de A est 1 = 17, quelle est sa cl e publique? b) La cl e priv ee de B est 2 = 25, quelle est sa cl e publique? c) Le correspondant A tire au hasard la valeur 41. Quelle est lent ete que A transmet ` a B? Quelle est la valeur de la cl e de session? Exercice 12. Soit (p = 53, a = 2, A = 30) la cl e publique de Bob dans un protocole dEl Gamal. Alice lutilise pour g en erer le cryptogramme (24,37). D eterminer le message en clair correspondant. Exercice 13. Alice re coit le cryptogramme El Gamal (C1 = 23, C2 = 15). Sa cl e publique est (p = 43, a = 3, A = 32). D eterminer le message en clair correspondant. Z , + ,.). 101 Z

2) Deux correspondants A et B utilisent le chirement dEl Gamal avec un module p = 101

Вам также может понравиться

  • Annales de Mathématiques, Baccalauréat C et E, Cameroun, 2008 - 2018: Sujets et Corrigés
    Annales de Mathématiques, Baccalauréat C et E, Cameroun, 2008 - 2018: Sujets et Corrigés
    От Everand
    Annales de Mathématiques, Baccalauréat C et E, Cameroun, 2008 - 2018: Sujets et Corrigés
    Рейтинг: 4.5 из 5 звезд
    4.5/5 (4)
  • Concevez Votre Site Web Avec PHP Et MySQL
    Concevez Votre Site Web Avec PHP Et MySQL
    Документ200 страниц
    Concevez Votre Site Web Avec PHP Et MySQL
    Onebag
    Оценок пока нет
  • td2 RSA Corrige PDF
    td2 RSA Corrige PDF
    Документ8 страниц
    td2 RSA Corrige PDF
    HARBI Mohamed Anis
    100% (2)
  • TD Rsa
    TD Rsa
    Документ2 страницы
    TD Rsa
    Lynda Guessoum
    100% (1)
  • Communication Orale 2ème Année
    Communication Orale 2ème Année
    Документ95 страниц
    Communication Orale 2ème Année
    Hossin Zbh
    100% (5)
  • WiFi Professionnel
    WiFi Professionnel
    Документ403 страницы
    WiFi Professionnel
    ghani
    Оценок пока нет
  • TD-Cryptographie: Questions
    TD-Cryptographie: Questions
    Документ2 страницы
    TD-Cryptographie: Questions
    CHAIMA SAKKA
    100% (1)
  • Cryptographie Et Hachage
    Cryptographie Et Hachage
    Документ39 страниц
    Cryptographie Et Hachage
    Mohamed Belhadj
    Оценок пока нет
  • TD0 Crypto Corrrigé
    TD0 Crypto Corrrigé
    Документ3 страницы
    TD0 Crypto Corrrigé
    Mariem Mhamdi
    Оценок пока нет
  • Correction TD2finalf
    Correction TD2finalf
    Документ5 страниц
    Correction TD2finalf
    Fatima Zahra
    Оценок пока нет
  • Exam Corrige
    Exam Corrige
    Документ5 страниц
    Exam Corrige
    Armand Siewe
    Оценок пока нет
  • Crypto - Notions de Base
    Crypto - Notions de Base
    Документ47 страниц
    Crypto - Notions de Base
    Mohamed Alibi
    100% (1)
  • TD2 PDF
    TD2 PDF
    Документ3 страницы
    TD2 PDF
    Chaima Bensaci
    Оценок пока нет
  • td2 RSA Enonce PDF
    td2 RSA Enonce PDF
    Документ4 страницы
    td2 RSA Enonce PDF
    charnelle brenda
    Оценок пока нет
  • 52307
    52307
    Документ4 страницы
    52307
    Fatima-Ezzahra AI
    Оценок пока нет
  • Devoir 03 INF 441
    Devoir 03 INF 441
    Документ2 страницы
    Devoir 03 INF 441
    Pascal Ngorhoma Klakom
    Оценок пока нет
  • td2 Ilis PDF
    td2 Ilis PDF
    Документ2 страницы
    td2 Ilis PDF
    Laurent Ferry Siégni
    Оценок пока нет
  • TD 2 - GL
    TD 2 - GL
    Документ1 страница
    TD 2 - GL
    Yathreb Samaali
    Оценок пока нет
  • Crypto 2022
    Crypto 2022
    Документ14 страниц
    Crypto 2022
    Samson Klougan
    Оценок пока нет
  • Tdcryptoasymetrique
    Tdcryptoasymetrique
    Документ1 страница
    Tdcryptoasymetrique
    a.agrima
    Оценок пока нет
  • Cryptograhie
    Cryptograhie
    Документ11 страниц
    Cryptograhie
    Brice Eliel
    100% (1)
  • Crypto 090718
    Crypto 090718
    Документ13 страниц
    Crypto 090718
    Hime Aoi
    Оценок пока нет
  • TD Sécurité Informatique
    TD Sécurité Informatique
    Документ4 страницы
    TD Sécurité Informatique
    Mohamed salah landolsi
    Оценок пока нет
  • TP Rsa
    TP Rsa
    Документ2 страницы
    TP Rsa
    francis lumingu
    Оценок пока нет
  • Ex3 Enonce
    Ex3 Enonce
    Документ2 страницы
    Ex3 Enonce
    Lane
    Оценок пока нет
  • TP Chiffrement Asymetrique
    TP Chiffrement Asymetrique
    Документ3 страницы
    TP Chiffrement Asymetrique
    delsoltiberian1
    Оценок пока нет
  • Partiel 1
    Partiel 1
    Документ4 страницы
    Partiel 1
    Mouhamed Rassoul Gueye
    Оценок пока нет
  • td1 Mecanismescrypto
    td1 Mecanismescrypto
    Документ3 страницы
    td1 Mecanismescrypto
    adem cherif
    Оценок пока нет
  • TD 2 Bisenon
    TD 2 Bisenon
    Документ1 страница
    TD 2 Bisenon
    Hicham Jawni
    Оценок пока нет
  • TD0 Crypto Corrrigé
    TD0 Crypto Corrrigé
    Документ3 страницы
    TD0 Crypto Corrrigé
    Mariem Mhamdi
    Оценок пока нет
  • TD3 Crypto 2022
    TD3 Crypto 2022
    Документ2 страницы
    TD3 Crypto 2022
    Oualid Islem
    Оценок пока нет
  • Theorie de L'information
    Theorie de L'information
    Документ2 страницы
    Theorie de L'information
    Lion DE Abderrazak
    Оценок пока нет
  • Cryptographie VSG
    Cryptographie VSG
    Документ6 страниц
    Cryptographie VSG
    Shamaila Viruet
    Оценок пока нет
  • TD2 Ibrahimi
    TD2 Ibrahimi
    Документ3 страницы
    TD2 Ibrahimi
    Yunes iFri
    100% (1)
  • Feuille 3: RSA: X Z/NZ en X Z/nZ. Puis On Déchiffre y Z/NZ Par y Z/NZ Pour A Z Tel
    Feuille 3: RSA: X Z/NZ en X Z/nZ. Puis On Déchiffre y Z/NZ Par y Z/NZ Pour A Z Tel
    Документ4 страницы
    Feuille 3: RSA: X Z/NZ en X Z/nZ. Puis On Déchiffre y Z/NZ Par y Z/NZ Pour A Z Tel
    qsdfghjkl
    Оценок пока нет
  • C Rendu 1
    C Rendu 1
    Документ7 страниц
    C Rendu 1
    Majda Bensalem
    Оценок пока нет
  • td3 Signature2021-2022
    td3 Signature2021-2022
    Документ2 страницы
    td3 Signature2021-2022
    Erin Myriam Johanna Ali-Khodja
    Оценок пока нет
  • Atelier 3
    Atelier 3
    Документ3 страницы
    Atelier 3
    Khadija Doja
    Оценок пока нет
  • CP TD 6 Solutions
    CP TD 6 Solutions
    Документ5 страниц
    CP TD 6 Solutions
    FAAL TAFA
    Оценок пока нет
  • TD 5-Sidi-Ta
    TD 5-Sidi-Ta
    Документ1 страница
    TD 5-Sidi-Ta
    hmad khouya
    Оценок пока нет
  • Les Techniques de Cryptographie: G. Florin S. Natkin Mars 2003
    Les Techniques de Cryptographie: G. Florin S. Natkin Mars 2003
    Документ23 страницы
    Les Techniques de Cryptographie: G. Florin S. Natkin Mars 2003
    Hassina Ouzia
    Оценок пока нет
  • CoursCryptoM2 Réseaux
    CoursCryptoM2 Réseaux
    Документ23 страницы
    CoursCryptoM2 Réseaux
    Tay Uub
    Оценок пока нет
  • TD 2021
    TD 2021
    Документ2 страницы
    TD 2021
    Lydia BOUCHOUCHA
    Оценок пока нет
  • Introduction A La Cryptologie Et Aux Cryptosystemes
    Introduction A La Cryptologie Et Aux Cryptosystemes
    Документ7 страниц
    Introduction A La Cryptologie Et Aux Cryptosystemes
    Anis MOHAMMEDI
    Оценок пока нет
  • Cryptometre
    Cryptometre
    Документ42 страницы
    Cryptometre
    Jeovany Delvo Nguedjio Tsague
    Оценок пока нет
  • TD Intro Cryptographie
    TD Intro Cryptographie
    Документ1 страница
    TD Intro Cryptographie
    Jean didier
    Оценок пока нет
  • Controle Amd Corrige Type
    Controle Amd Corrige Type
    Документ5 страниц
    Controle Amd Corrige Type
    Ko Kita
    Оценок пока нет
  • Exemples Rsa
    Exemples Rsa
    Документ5 страниц
    Exemples Rsa
    monia tlili
    Оценок пока нет
  • Crypt Inters
    Crypt Inters
    Документ9 страниц
    Crypt Inters
    Idris Marouf
    Оценок пока нет
  • BTS SIO Metropole Obli 13 Mai 2019 2
    BTS SIO Metropole Obli 13 Mai 2019 2
    Документ3 страницы
    BTS SIO Metropole Obli 13 Mai 2019 2
    Guy Léo
    Оценок пока нет
  • Res Chiffrage
    Res Chiffrage
    Документ4 страницы
    Res Chiffrage
    Je Syis
    Оценок пока нет
  • Chapitre 7 Printable
    Chapitre 7 Printable
    Документ61 страница
    Chapitre 7 Printable
    Peter Kidoudou
    Оценок пока нет
  • Examen 1 PDF
    Examen 1 PDF
    Документ3 страницы
    Examen 1 PDF
    klklkl
    Оценок пока нет
  • Examcorrigecryptofinal2011 2012 PDF
    Examcorrigecryptofinal2011 2012 PDF
    Документ3 страницы
    Examcorrigecryptofinal2011 2012 PDF
    Anne-Marie Adjovi
    Оценок пока нет
  • TD1 Corrigé
    TD1 Corrigé
    Документ2 страницы
    TD1 Corrigé
    DO UA
    Оценок пока нет
  • TD Rsa
    TD Rsa
    Документ4 страницы
    TD Rsa
    Ndik Lipem
    Оценок пока нет
  • Securite TD RSA
    Securite TD RSA
    Документ1 страница
    Securite TD RSA
    moudou
    Оценок пока нет
  • Exam
    Exam
    Документ4 страницы
    Exam
    Ibrahima diao
    Оценок пока нет
  • TP10 Maple
    TP10 Maple
    Документ2 страницы
    TP10 Maple
    Estêvão Salles
    Оценок пока нет
  • Exercices de Cryptographie 2022
    Exercices de Cryptographie 2022
    Документ1 страница
    Exercices de Cryptographie 2022
    MARLENE INGRID N'CHO
    Оценок пока нет
  • Info Codage Source Exos Corriges
    Info Codage Source Exos Corriges
    Документ21 страница
    Info Codage Source Exos Corriges
    samibdz
    Оценок пока нет
  • Td4 Hellman
    Td4 Hellman
    Документ6 страниц
    Td4 Hellman
    qsdfghjkl
    Оценок пока нет
  • ISTDI - TD Théorie de L'info Et Du Codage - Rev
    ISTDI - TD Théorie de L'info Et Du Codage - Rev
    Документ4 страницы
    ISTDI - TD Théorie de L'info Et Du Codage - Rev
    stanis kamdoum
    Оценок пока нет
  • Chapitre 2 - Cryptographie Classique
    Chapitre 2 - Cryptographie Classique
    Документ11 страниц
    Chapitre 2 - Cryptographie Classique
    DO UA
    Оценок пока нет
  • Projet MTU
    Projet MTU
    Документ14 страниц
    Projet MTU
    Anisa Manellari
    Оценок пока нет
  • - Tours de magie expliqués par des bienfaits du calcul littéral
    - Tours de magie expliqués par des bienfaits du calcul littéral
    От Everand
    - Tours de magie expliqués par des bienfaits du calcul littéral
    Оценок пока нет
  • 28 29 30 31 Virtualisation
    28 29 30 31 Virtualisation
    Документ4 страницы
    28 29 30 31 Virtualisation
    Isaiah Oloyede
    Оценок пока нет
  • 0.7 - Introduction À L'analyse Du Réseau
    0.7 - Introduction À L'analyse Du Réseau
    Документ17 страниц
    0.7 - Introduction À L'analyse Du Réseau
    Onebag
    Оценок пока нет
  • Brian Veau Cyril Perissol
    Brian Veau Cyril Perissol
    Документ9 страниц
    Brian Veau Cyril Perissol
    Onebag
    Оценок пока нет
  • Chapter 2
    Chapter 2
    Документ57 страниц
    Chapter 2
    thakornikita001.nt10
    Оценок пока нет
  • Crypto Chapitre 2
    Crypto Chapitre 2
    Документ62 страницы
    Crypto Chapitre 2
    dhaouadi taha
    Оценок пока нет
  • TD 1
    TD 1
    Документ3 страницы
    TD 1
    Dolores Abernathy
    Оценок пока нет
  • Exposer Chiffrement
    Exposer Chiffrement
    Документ3 страницы
    Exposer Chiffrement
    Joy Grace
    Оценок пока нет
  • Cours 2 ENST 1
    Cours 2 ENST 1
    Документ54 страницы
    Cours 2 ENST 1
    Bă Ķŕ
    Оценок пока нет
  • Hashes
    Hashes
    Документ3 страницы
    Hashes
    Aser Morgan
    Оценок пока нет
  • Cryptographie Symetrique
    Cryptographie Symetrique
    Документ28 страниц
    Cryptographie Symetrique
    wc4dq5vmsc
    Оценок пока нет
  • Exercice S
    Exercice S
    Документ15 страниц
    Exercice S
    Sophie
    Оценок пока нет
  • Resumé Cours
    Resumé Cours
    Документ2 страницы
    Resumé Cours
    Mohamed Cherif Chorfi
    Оценок пока нет
  • Crypto
    Crypto
    Документ836 страниц
    Crypto
    Arnaud Bizec
    Оценок пока нет
  • Cryptographie Elliptique
    Cryptographie Elliptique
    Документ69 страниц
    Cryptographie Elliptique
    Lejaxhe
    Оценок пока нет
  • Chap 02
    Chap 02
    Документ44 страницы
    Chap 02
    Aya Rayane Derrouiche
    Оценок пока нет
  • Cryptography
    Cryptography
    Документ31 страница
    Cryptography
    heysehyawn
    Оценок пока нет
  • CH 2 Slides
    CH 2 Slides
    Документ53 страницы
    CH 2 Slides
    Aya Rayane Derrouiche
    Оценок пока нет
  • Séance 2
    Séance 2
    Документ75 страниц
    Séance 2
    Ougraz hassan
    Оценок пока нет
  • TD2 - Cryptographie - Copie
    TD2 - Cryptographie - Copie
    Документ4 страницы
    TD2 - Cryptographie - Copie
    Benmimoun Weejdy
    Оценок пока нет
  • Cours 2
    Cours 2
    Документ33 страницы
    Cours 2
    Marieme Lo
    Оценок пока нет
  • Support - Cours - Crypto 3
    Support - Cours - Crypto 3
    Документ13 страниц
    Support - Cours - Crypto 3
    Baye Mor Diouf
    Оценок пока нет
  • CRYPTOGRAPHIE - Modes Operatoires
    CRYPTOGRAPHIE - Modes Operatoires
    Документ22 страницы
    CRYPTOGRAPHIE - Modes Operatoires
    Arnaud Bizec
    Оценок пока нет
  • Calcul Litteral Cours Et Exercices FR
    Calcul Litteral Cours Et Exercices FR
    Документ7 страниц
    Calcul Litteral Cours Et Exercices FR
    Home erriahi
    Оценок пока нет
  • Master Ist: Cryptographie TD N°1: Objectif Du TD: Avoir Quelques Notions Sur Les Méthodes de Chiffrement Symétrique
    Master Ist: Cryptographie TD N°1: Objectif Du TD: Avoir Quelques Notions Sur Les Méthodes de Chiffrement Symétrique
    Документ2 страницы
    Master Ist: Cryptographie TD N°1: Objectif Du TD: Avoir Quelques Notions Sur Les Méthodes de Chiffrement Symétrique
    Emna Ben Said
    Оценок пока нет
  • Fondements de Sécurité Final II
    Fondements de Sécurité Final II
    Документ13 страниц
    Fondements de Sécurité Final II
    Emna Brahmi
    Оценок пока нет
  • Chapitre 1 Cryptographie
    Chapitre 1 Cryptographie
    Документ176 страниц
    Chapitre 1 Cryptographie
    Nour Eddine Lechgar
    Оценок пока нет
  • FR - Chiffrement Symétrique
    FR - Chiffrement Symétrique
    Документ59 страниц
    FR - Chiffrement Symétrique
    MENANI Zineddine
    Оценок пока нет
  • Chiffrement Par Flux Ou Flot
    Chiffrement Par Flux Ou Flot
    Документ53 страницы
    Chiffrement Par Flux Ou Flot
    elbafa33
    100% (2)
  • Developpement Et Factorisation Serie Dexercices N3 PDF
    Developpement Et Factorisation Serie Dexercices N3 PDF
    Документ1 страница
    Developpement Et Factorisation Serie Dexercices N3 PDF
    azouz
    Оценок пока нет
  • TP Openssl
    TP Openssl
    Документ8 страниц
    TP Openssl
    Samy Hassine
    Оценок пока нет