encyclopegia.org

Shared secret

In cryptography, a shared secret is a piece of data, known only to the parties involved, in a secure communication.[src] This usually refers to the key of a symmetric cryptosystem.[src] The shared secret can be a PIN code, a password, a passphrase, a big number, or an array of randomly chosen bytes.[src] 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 instance using public-key cryptography such as Diffie–Hellman or using symmetric-key cryptography such as Kerberos.[src] The shared secret can be used for authentication (for instance when logging in to a remote system) using methods such as challenge–response or it can be fed to a key derivation function to produce one or more keys to use for encryption and/or MACing of messages.[src] To make unique session and message keys the shared secret is usually combined with an initialization vector (IV).[src] An example of this is the derived unique key per transaction method.[src] It is also often used as an authentication measure in web APIs.[src]

In cryptography, a shared secret is a piece of data, known only to the parties involved, in a secure communication.[src] This usually refers to the key of a symmetric cryptosystem.[src] The shared secret can be a PIN code, a password, a passphrase, a big number, or an array of randomly chosen bytes.[src] 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 instance using public-key cryptography such as Diffie–Hellman or using symmetric-key cryptography such as Kerberos.[src] The shared secret can be used for authentication (for instance when logging in to a remote system) using methods such as challenge–response or it can be fed to a key derivation function to produce one or more keys to use for encryption and/or MACing of messages.[src] To make unique session and message keys the shared secret is usually combined with an initialization vector (IV).[src] An example of this is the derived unique key per transaction method.[src] It is also often used as an authentication measure in web APIs.[src]

16 sentences · 16 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Shared secret." encyclopegia.org, 2025, https://encyclopegia.org/wiki/shared-secret. Accessed 26 November 2026.

Chicago

"Shared secret." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/shared-secret.

APA

encyclopegia.org. (2025). Shared secret. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/shared-secret

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Top Secret

stub · references available

Secret Garden

stub · references available

Secret Things

stub · references available

Top Secret

stub · references available

Secret Chiefs 3

stub · references available

secret society

stub · references available

Secret Passion

stub · references available

A Secret Vice

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1310539026 · 0.5 · snapshot enwiki-001310539026

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.