File:Public key shared secret.svg

Summary

Description

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.

Original illustration by David Göthberg, Sweden.

Released by David as public domain.
Date
Source Own work
Author Davidgothberg
Other versions

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.

See Category:Cryptography diagrams for several related diagrams.
SVG development
InfoField

Licensing

Public domain 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.
Category:Self-published work#Public%20key%20shared%20secret.svgCategory:PD-self#Public%20key%20shared%20secret.svg Category:Public-key cryptography Category:English-language SVG diagrams Category:SVG cryptography diagrams
Category:English-language SVG diagrams Category:Invalid SVG created with Inkscape:Diagrams Category:PD-self Category:Public-key cryptography Category:SVG created with Inkscape:Important Category:SVG cryptography diagrams Category:Self-published work Category:Translation possible - SVG (switch)