Explore Go: Cryptography

Explore Go: Cryptography

$29.95

Much of the modern world is built on cryptography: the art of secret messages. This book will show you what it’s all about and how it really works, with dozens of example programs in Go.

Add To Cart

Who is this book for?

Software engineers who want to get a better intuitive understanding of modern cryptography, including encryption, keys, and security. No mathematics required; just curiosity and a willingness to think like both a cryptographer and an attacker.

What problem does it solve?

Have you ever wondered how passwords are stored securely? What makes a good password? How are ciphers designed—and broken? Where do random numbers come from, and what makes them random? What do lava lamps, space games, digital signatures, black holes, and Bitcoin have in common?

Rather than treating cryptography as a collection of mysterious algorithms, the book builds a cipher from first principles. At each stage we’ll attack it, discover its weaknesses, and improve it by introducing ideas like block chaining, padding, authentication, and message digests. By the end, you’ll understand not just what modern cryptographic algorithms do, but why they were designed that way.

By the end of the book, you’ll be comfortable reading Go’s cryptography packages, understand how AES and modern cipher modes work internally, and know how to use them safely in your own programs.

What will I learn?

This book covers the theoretical underpinnings of encryption in a vivid, relatable, and fun way. You’ll learn the fundamentals of cryptography and cryptanalysis by following the adventures of Alice, Bob, Eve, Mallory, and others. Most importantly, you’ll learn how to use Go’s built-in cryptography support to implement secure and effective tools.

  • Breaking ciphers: understand keyspaces, brute-force attacks, and why some encryption schemes fail.
  • Building ciphers: learn blocks, streams, chaining, padding, and modern cipher modes.
  • Randomness: explore entropy, secure random numbers, key generation, and key derivation.
  • Authentication: use hashes, message digests, digital signatures, and integrity checks correctly.
  • Public-key cryptography: understand Diffie–Hellman, RSA, key exchange, and asymmetric encryption.
  • Modern cryptography: discover how AES, SHA-256, GCM, and post-quantum cryptography fit together.

What do I get?

  • PDF and ePub included
  • Works on computers, tablets, phones, and ebook readers
  • Free lifetime updates

Kevin Cunningham, Web Developer / Dev Educator

“Engaging, friendly, informative, and snappy.”

I love reading John’s writing. I appreciated the mix between the practical and the philosophical. As always, I learnt loads, thought loads and have a number of books added to my reading list!

Dominic St-Pierre, President, Focus Centric

“I really enjoyed this.”

As a Go programmer I use crypto packages every day, and it’s very interesting to get the background on how they really work. Go buy the book!

Eldon Alameda, Tech Fellow, LexisNexis

“All John’s books are an insta-buy.”

Super interesting!

Contents

Sample chapter

The Deeper Love of Go

The Deeper Love of Go

$29.95
The Complete Go Library
sale

The Complete Go Library

Sale Price:$119.80 Original Price:$149.75
The Power of Go: Tools

The Power of Go: Tools

$29.95
Know Go

Know Go

$29.95
The Power of Go: Tests

The Power of Go: Tests

$29.95