Public-key cryptography / asymmetric cryptography, shared secret agreement.
Alice combines her own private key with Bob's public key to create a shared secret. Likewise Bob combines his own private key with Alice's public key and gets the same shared secret. This secret is now only known by Alice and Bob. The shared secret can be used as a symmetric key for encrypted communication between Alice and Bob and for many other purposes such as MACing and to create multiple message keys etc. Diffie–Hellman key exchange is a method of this type.
This image is part in a series of images showing the four basic public-key cryptography operations: Creating a key pair, encrypting, signing, and creating a shared secret. Note that no single cryptosystem can do all three operations: For instance RSA can do encryption and signing, while Diffie–Hellman can create shared secrets.
I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
Captions
Add a one-line explanation of what this file represents
released into the public domain by the copyright holder<\/a>"}},"text\/plain":{"en":{"P275":"released into the public domain by the copyright holder"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P275 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">
original creation by uploader<\/a>"}},"text\/plain":{"en":{"P7482":"original creation by uploader"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P7482 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">
Public-key cryptography / asymmetric cryptography, shared secret agreement. Alice combines her own secret key with Bob's public key to create a shared secret. Likewise Bob combines his own secret key with Alice's public key and gets the same shared secre
File usage
The following pages on the English Wikipedia use this file (pages on other projects are not listed):