liveBook · Manning

Pre-shared key

A pre-shared key is secret keying material provisioned in advance to communicating parties for authentication or cryptographic operations.

How 3 Manning books explain it

Real-World Cryptography

A secret key provisioned to communicating parties before a protocol session begins and shared for use in cryptographic operations.

How it is used
Uses a shared secret to avoid public-key infrastructure and key exchange between known communicating machines.
How deep it goes
Defines PSKs and sketches TLS 1.3 negotiation, but stops short of key-derivation internals and provisioning guidance.
Examples
Uses two machines that connect only to each other and a ClientHello/ServerHello PSK exchange.
What you can do after
Evaluate TLS 1.3 PSK use when avoiding a public-key exchange is appropriate.

Read how Real-World Cryptography explains pre-shared key →

Hacking Cryptography

Secret keying material configured in advance and shared by the communicating parties.

How it is used
Uses a preconfigured secret with public initialization vectors to derive per-packet RC4 keys in WEP.
How deep it goes
Traces key construction, RC4 scheduling bias, weak-IV selection, statistical recovery, and failure from insufficient message volume.
Examples
Uses WEP packets, the key helloworld123, weak-IV Go code, and 50,000-versus-500-message recovery tests.
What you can do after
Evaluate how WEP’s PSK construction enables practical key recovery through weak IVs and RC4 statistical bias.

Read how Hacking Cryptography explains pre-shared key →

Acing the CCNA Exam: Volume 2 Advanced Networking and Security

A pre-shared key is a secret value configured in advance on wireless clients and access points for shared-key authentication.

How it is used
Deploys shared wireless authentication primarily in SOHO networks and within CCNA WPA2-PSK configuration tasks.
How deep it goes
Explains PSK formats, authentication sequencing, handshake purposes, WPA3 SAE, and WLC security choices without providing CLI commands.
Examples
Uses WLC Layer 2 settings, ASCII passphrases, hexadecimal keys, WPA2 Policy, AES Encryption, and handshake figures.
What you can do after
Configure WPA2-PSK authentication on a WLAN and distinguish its WPA, WPA3 SAE, and WPA-Enterprise alternatives.

Read how Acing the CCNA Exam: Volume 2 Advanced Networking and Security explains pre-shared key →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.