Discussion:Protocole cryptographique

Tout ou partie de cet article est issu de la traduction de l'article sous licence CC-BY-SA « (en) Cryptographic protocol » dans sa version du 03/05…

Discussion:Protocole cryptographique

Cryptographie alternative

Je soumets ici un protocole alternatif d'échange de clé cryptographique. J'invite les intéressés à en trouver la faille, ce qui ne doit pas être bien difficile. 2A01:CB19:707:3200:1C11:A5C3:9BFF:5910 (discuter) 11 août 2024 à 12:28 (CEST) Ianop.Répondre

A = 127

B = 179

X = 74 (2 * 37)

Y = 86 (2 * 43)

AX = 127 * 74 = 9398

BY = 179 * 86 = 15394

T = 15394 + 9398 / 2 = 12396

AX, BY, T publiques.

Alice :

[(T - 74) + 127] - BY = - 2945

[(T - 74) + 127] - AX = 3051

C = 3051 - 2945 = 106

Bob :

[(T - 86) + 179] - BY = - 2905

[(T - 86) + 179] - AX = 3091

D = 3091 - 2905 = 186

Alice :

(3 * 127) + 106 = 487

106 + (127 + 74) = 307

Bob:

(3 * 179) + 186 = 723

186 + (179 + 86) = 451

Alice : 487 à Bob

Bob : 451 à Alice

Bob : 487 + 723 = 1210

Alice : 451 + 307 = 758

Bob : 1210 + 12 = 1222 (cryptage)

1222 à Alice

Alice : 1222 - 758 = 464

758 - 464 = 294

294 + 74 = 368

368 + 16 = 384 (cryptage)

384 à Bob

Bob : 384 + 86 + [12] = 482

482 à Alice

Alice : 482 - [16] = 466

Clé = 466 - (127 + 74) = 265 (179 + 86)

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.