Public-key cryptography uses an asymmetric approach where the key used to encrypt and the key used to decrypt a message are not the same. Here is a description of the RSA asymmetric algorithm: RSA (asymmetric cryptography)
There is probably no "conventional crypthography". What you probably mean are symmetric algorithms where both keys are the same. Symmetric key algorithm
Basically, public-key cryptography means that you have a "public/private" pair of keys. The public key can be used to encrypt messages, but not decrypt them. The private key is, as the name suggests, secret, and can be used to decrypt the messages.
Typical usage goes like this:
Alice creates a public/private key pair.
Alice sends her public key to Bob, keeping the private key in a safe location.
Bob sends the encrypted message to Alice.
Alice receives the message and uses her private key to decrypt it.
Usage examples of asymmetric encryption:
In situations where no trusted channel can be established for exchanging symmetric keys (e.g. HTTPS): because the public key cannot decrypt, it is safe to send it over an untrusted connection
When the same public key needs to be used by more than one user (e.g. encrypted e-mail): even though all the senders use the same public key, they cannot use it to decrypt any messages; only the recipient has the private key
发布评论
评论(2)
您可能应该重新表述您的问题:
公钥加密使用非对称方法,其中用于加密的密钥和用于解密消息的密钥不同。下面是 RSA 非对称算法的描述:RSA(非对称加密)
可能没有“常规算法”密码学”。您可能的意思是对称算法,其中两个密钥相同。 对称密钥算法
You should probably re-phrase your question:
Public-key cryptography uses an asymmetric approach where the key used to encrypt and the key used to decrypt a message are not the same. Here is a description of the RSA asymmetric algorithm: RSA (asymmetric cryptography)
There is probably no "conventional crypthography". What you probably mean are symmetric algorithms where both keys are the same. Symmetric key algorithm
基本上,公钥加密意味着您拥有一对“公钥/私钥”密钥。公钥可用于加密消息,但不能解密消息。顾名思义,私钥是秘密的,可用于解密消息。
典型用法如下:
非对称加密的使用示例:
Basically, public-key cryptography means that you have a "public/private" pair of keys. The public key can be used to encrypt messages, but not decrypt them. The private key is, as the name suggests, secret, and can be used to decrypt the messages.
Typical usage goes like this:
Usage examples of asymmetric encryption: