How to Share a Secret
For methods where a secret is divided into several parts, see secret sharing. In cryptography, a shared secret is a piece of data, known only to the parties involved, in a secure communication. The shared secret can be a password, a passphrase, a big number or an array of randomly chosen bytes. The shared secret is either shared beforehand between the communicating parties, in which case it can also be called a pre-shared key, or it is created at the start of the communication session by using a key-agreement protocol, for inst ance using public-key cryptography such as Diffie-Hellman or using symmetric-key cryptography such as Kerberos. ance using public-key cryptography such as Diffie-Hellman or using symmetric-key cryptography such as Kerberos.
暂无评论