SlideServe
Menu
Préférences
© SlideServe · v2026

RSA

shelby-fuentes avatar
10 diapositives · 277 Views · Nov 16, 2014

This document outlines the RSA encryption method, which relies on the difficulty of factoring large integers. It details the steps for generating key pairs using two random large prime numbers, p and q. It covers the computation of the public and private keys, message preparation, encryption, and decryption processes. The significance of choosing primes of equal length and ensuring security by discarding p and q securely is emphasized. Detailed explanations of how cipher text is computed and factors affecting computational efficiency compared to algorithms like DES and AES are provided.

RSA - slide 1
01 / 10RSA
1 / 17

Télécharger la présentation

RSA
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Rivest, Shamir and Adleman 1978 - 1979 RSA

  2. Rivest Shamir Adleman

  3. Depends on the difficulty of factoring really large numbers. Security

  4. Key Pair • Choose 2 random large (300 to 600 digits) prime numbers, p and q. • p and q should be of equal length • Compute n = pq • Randomly choose e such that e and (p – 1)(q – 1) are relatively prime • Compute d such that ed = 1 mod ((p – 1)(q - 1))

  5. Keys • e is the encryption key • d is the decryption key d = e-1 mod ((p – 1)(q – 1)) • e and n are the public key • d is the private key • Throw p and q away (securely)

  6. Message Preparation • The message m must be divided into blocks smaller than n. • For 2048 bit keys message blocks should be around 1024 bytes. • Pad with zeros

  7. Encryption • Message block mi • Cipher text ci ci = mie mod n

  8. Decryption • Message block mi • Cipher text ci mi = cidmod n

  9. Common Public Keys • 3, 17, and 65537 (216 + 1) • 11, 1001, 10000000000000001 • Remember the security depends on factoring n = p q

  10. Computation • 600 digits raised to 600 digits is a lot of multiplication! • Montgomery’s method depends on the binary representation of e. • Using all of the tricks RSA is about 10,000 to 100,000 times more computationally intensive than DES or AES