liveBook · Manning

RC4

RC4 is a stream-cipher algorithm that generates a pseudorandom keystream from a variable-length secret key using a permutation-based internal state.

How 2 Manning books explain it

Hacking Cryptography

RC4 is a stream cipher that generates a keystream from a variable-length secret key using a permutation-based state algorithm.

How it is used
Uses RC4 to connect stream-cipher implementation with WEP password recovery by traffic capture.
How deep it goes
Works through KSA, PRGA, XOR encryption, and a byte-by-byte statistical FMS recovery procedure.
Examples
Demonstrates Go RC4 encryption and FMS recovery of “helloworld123” from 50,000 weak-IV packets.
What you can do after
Build it from scratch in Go and evaluate why weak-IV packet volume enables WEP key recovery.

Read how Hacking Cryptography explains RC4 →

Acing the CCNA Exam: Volume 2 Advanced Networking and Security

RC4 is a stream-cipher algorithm that generates a pseudorandom keystream for encrypting data.

How it is used
Provides WEP with stream encryption for wireless messages after client authentication and association.
How deep it goes
Defines RC4's WEP role and packet-level IV use, but does not explain cipher internals or implementation steps.
Examples
Uses a new 24-bit IV per packet and a 32-bit ICV appended before encryption as concrete WEP artifacts.
What you can do after
Evaluate RC4's role and security limitations when identifying legacy WEP wireless configurations.

Read how Acing the CCNA Exam: Volume 2 Advanced Networking and Security explains RC4 →

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.