October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk2 min

Definition of Secret-Key Cryptography: How Shared Keys Work

Secret-key cryptography uses shared secret key material for an operation and its complement. Learn how the key works and how symmetric and public-key approaches differ.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Secret-key cryptography, also called symmetric-key cryptography, uses a shared secret key for a cryptographic operation and its complement. For encryption, authorized parties use the same key to encrypt and decrypt information. The key must be protected from disclosure; “secret” here describes that protection requirement, not a security-classification level.

What is secret-key cryptography?

It is a cryptographic approach in which authorized parties share secret key material. A cryptographic key is a parameter used with an algorithm to determine how the algorithm operates. In encryption, the shared key lets an authorized party encrypt information and another authorized party decrypt it.

As an Amazon Associate I earn from qualifying purchases.

The key and the algorithm are different things: the key is the value supplied to an algorithm, while the algorithm defines the cryptographic method. Because authorized parties share the key, someone who obtains it may be able to perform the same key-dependent operation or reverse an encrypted operation. NIST defines a cryptographic key and describes the symmetric-key concept.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What is a secret key used for?

Encryption and decryption are a familiar example, but symmetric-key algorithms can also be used for other operations, including keyed hashing and message authentication. The exact purpose depends on the algorithm and how it is used; “secret key” does not mean the key is exclusively for encryption.

Whatever the operation, the key must not be made public. NIST uses “secret” to indicate the need to protect the key from disclosure, not to assign it a classification level. See NIST’s definition of secret key and its entry on symmetric cryptography.

Example: AES

AES, or the Advanced Encryption Standard, is a well-known symmetric block cipher that can encrypt and decrypt information. AES is the algorithm, not the secret key itself. NIST published FIPS 197, the AES standard, on November 26, 2001; that publication date alone does not establish the standard’s current revision status. NIST’s FIPS 197 publication provides the standard.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Secret-key vs. public-key cryptography

The basic distinction is whether the relevant cryptographic operation relies on the same shared secret key or on separate related keys. This is a conceptual comparison, not a full description of how every real-world protocol combines cryptographic methods.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Feature Secret-key (symmetric-key) cryptography Public-key cryptography
Key arrangement Authorized parties share secret key material; the same key is used for an operation and its complement, such as encryption and decryption. Uses separate, related keys.
Prior shared secret For the shared-key operation, the authorized parties need access to the secret key. NIST describes public-key key establishment as allowing parties to communicate without prior access to a shared secret key.

That public-key key-establishment capability does not mean symmetric keys are never needed. It addresses whether parties must already have a shared secret for that key-establishment scenario. NIST’s public-key cryptography entry explains the separate-key approach.

What to remember

  • “Secret-key” and “symmetric-key” are equivalent terms in this context.
  • The shared key is a parameter used with an algorithm; it is not the algorithm itself.
  • For encryption, the same secret key is used to encrypt and decrypt.
  • AES is an example of a symmetric block cipher.
  • Public-key cryptography uses separate related keys and can support key establishment without a previously shared secret.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.