Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é RSA, textbook RSA, OAEP?

Também chamado de: RSA · textbook RSA · OAEP

Definition 28.4 University Computer Science — Year 3 · Capítulo 28 — Public-Key Cryptography and Secure Protocols

RSA key generation picks two large random primes p≠qp \ne q, sets n=pqn = pq and φ(n)=(p−1)(q−1)\varphi(n) = (p - 1)(q - 1), chooses ee with gcd⁡(e,φ(n))=1\gcd(e, \varphi(n)) = 1, commonly e=65537e = 65537, and computes d=e−1 mod φ(n)d = e^{-1} \bmod \varphi(n). The public key is (n,e)(n, e), the private key dd. Textbook RSA encrypts a number 0≤m<n0 \le m < n as c=me mod nc = m^e \bmod n and decrypts as m=cd mod nm = c^d \bmod n. OAEP (optimal asymmetric encryption padding) is a randomised encoding of the message applied before the exponentiation.

Ler no capítulo →