请输入您要查询的字词:

 

单词 RSA
释义

RSA


RSA is an example of public key cryptography. It is a widely used system, relying for its security on the difficulty of factoring a large number.

Alice forms her public and private keys as follows:

  • Chooses large primes p and q, then form n=pq.

  • Chooses e coprimeMathworldPlanetmathPlanetmath with ϕ(n)=(p-1)(q-1).

  • Publishes (n,e) as her public key.

  • Computes private key d such that de1mod ϕ(n).

To encrypt a message M (where M<n) the user Bob forms C=Memod n.

To decrypt the message, Alice forms d(C)=Cdmod n.

This recovers message M because:

d(C)=Cdmod n
=(Me+rn)dmod n  for some r
=(M(p-1))t(q-1)Mmod n  for some t
(1+sp)t(q-1)Mmod p  for some s
Mmod p

So d(C)Mmod p and similarly, d(C)Mmod q so by the Chinese remainder theoremMathworldPlanetmathPlanetmathPlanetmath, d(C)Mmod n, and since we know M<n we know that M=d(C).

随便看

 

数学辞典收录了18232条数学词条,基本涵盖了常用数学知识及数学英语单词词组的翻译及用法,是数学学习的有利工具。

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2025/5/4 9:25:18