liveBook · Manning

Galois/Counter Mode

Galois/Counter Mode is an authenticated-encryption mode that combines counter-mode encryption with authentication of ciphertext and associated data.

How 2 Manning books explain it

Software Security for Developers

AES-GCM is an authenticated-encryption mode of AES that provides confidentiality and message integrity with associated data support.

How it is used
Protects application data and messages with confidentiality, integrity, authenticity, and optional authenticated associated data.
How deep it goes
Explains inputs, outputs, failure modes, Java configuration, AEAD, and safeguards, but defers GCM’s mathematical details.
Examples
Demonstrates Java Cipher code, Tink, associated-data messages, encrypted refunds files, and Nimbus JWE objects.
What you can do after
Build it from scratch or apply it through Java, Tink, or Nimbus while avoiding nonce reuse and authentication failures.

Read how Software Security for Developers explains Galois/Counter Mode →

Real-World Cryptography

An authenticated-encryption construction that combines AES in Galois/Counter Mode with authentication of ciphertext and associated data.

How it is used
Protects communications by combining confidentiality with authentication of ciphertext and associated data.
How deep it goes
Explains CTR, GMAC, nonce requirements, and practical Web Crypto use, but stops short of implementation-level details.
Examples
Uses Alice-and-Bob message flow, AES-GCM JavaScript, a random 12-byte IV, associated data, and altered-message rejection.
What you can do after
Apply it via the Web Crypto API to encrypt and decrypt messages while avoiding nonce reuse.

Read how Real-World Cryptography explains Galois/Counter Mode →

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.