Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Serious Cryptography

    Serious Cryptography

    Jean-Philippe Aumasson · 2017

    This practical guide to modern encryption breaks down the fundamental mathematical concepts at the heart of cryptography without shying away from meaty discussions of how they work. You’ll learn about authenticated encryption, secure randomness, hash functions, block ciphers, and public-key techniques such as RSA and elliptic curve cryptography. You'll also learn: Key concepts in cryptography, such as computational security, attacker models, and forward secrecy The strengths and limitations of the TLS protocol behind HTTPS secure websites Quantum computation and post-quantum cryptography About various vulnerabilities by examining numerous code examples and use cases How to choose the best algorithm or protocol and ask vendors the right questions Each chapter includes a discussion of common implementation mistakes using real-world examples and details what could go wrong and how to avoid these pitfalls. Whether you’re a seasoned practitioner or a beginner looking to dive into the field, Serious Cryptography will provide a complete survey of modern encryption and its applications.

    Security & Privacy
    Open LibraryAmazon
    Stats for nerds
    26recommend
    52mentions
    35people
    2017–2026years
    75% recommend25% neutral

    Mentions per year

    2017201820192020202120222023202420252026

    What Hacker News says

    1. FiloSottileApr 2026
      If you want something book-shaped, the 2nd edition of Serious Cryptography is updated to when the NIST standards were near-final drafts, and has a nice chapter on post-quantum cryptography.

      If you want something that includes details on how they were deployed, I'm afraid that's all very recent and I don't have good references.

      thread
    2. maqpJan 2026
      Top 5 will never cover the field. Here's my top 10

      * Brookshear and Brylow - Computer Science - An Overview

      * Forta - Teach yourself SQL in 10 minutes

      * Stallings - Computer Organization and Architecture

      * Stallings - Operating Systems - Internals and Design Principles

      * CLRS

      * Kurose, Ross - Computer Networking - A Top Down Approach

      * Sipser - Introduction to The Theory of Computation

      * Stallings, Brown - Computer Security - Principles and Practice

      * Aumasson - Serious Cryptography

      * Russell, Norvig - Artificial Intelligence - A Modern Approach

      And even this fails to cover programming languages. Python is the lingua franca of the field. Most past recommended books are getting outdated, but perhaps Matthes' Python Crash Course 3rd edition.

      thread
    3. xoaOct 2025
      Whew, that's actually a hard one! It's been long enough since I was getting into it that I'm not really sure what's the best present path on it. In terms of books, JP Aumasson's "Serious Cryptography" got a 2nd edition not too long ago and the first edition was good. Katz & Lindell's "Modern Cryptography" and Hoffstein's "Introduction to Mathematical Cryptography" are both standard texts that I think a lot of courses still get started with. Finally I've heard good things about Esslinger's "Learning and Experiencing Cryptography with CrypTool and SageMath" from last year and Smart's "Cryptography Made Simple", which has a bunch of helpful visuals.

      For online stuff, man is there a ton, and plenty comes up on HN with some regularity. I guess I've been a fan of a lot of the work Quanta Magazine does on explaining interesting science and math topics, so you could look through their cryptography-tagged articles [0]. As I think about it more, honestly though it might almost seem cliche but reading the Wikipedia entries on cryptography and following that along with reference to the links if you want isn't bad either.

      Just keep in mind there's plenty of pieces that go into it. There's the mathematics of the algorithms themselves. Then a lot of details around the implementations of them into working software, with efforts like the HACL* project [1] at formal mathematical verification for libraries, which then has gone on to benefit projects like Firefox [2] in both security and performance. Then how that interacts with the messy real world of the underlying hardware, and how details there can create side channels can leak data from a seemingly good implementations of perfect math. But then also that such attacks don't always matter, it depends on the threat scenarios. OTP, symmetric and asymmetric/pub-key (all data preserving), and cryptographic hash functions (which are data destroying) are all very different things despite falling under the overall banner of "cryptography" with different uses and tradeoffs.

      Finally, there is lots and lots of history here going back to well before modern computers at all. Humans have always desired to store and share information with other humans they wish while preventing other humans from gaining it. There certainly have been endless efforts to try to subvert things as well as simple mistakes made. But we've learned a lot and there's a big quantitative difference between what we can do now and in the past.

      >My (rudimentary, layman) understanding is that encryption is almost like a last line of defense and should never be assumed to be unbreakable.

      Nope. "We", the collective of all humanity using the internet and a lot of other stuff, do depend on encryption to be "unbreakable" as a first and only line of defense, either truly and perfectly unbreakable or at least unbreakable within given specified constraints. It's the foundation of the entire the global e-commerce system and all the trillions and trillions flowing through it, of secure communications for business and war, etc.

      Honestly, I'm kind of fascinated that apparently there are people on HN who have somehow internalized the notion of cryptography you describe here. I don't mean that as a dig, just it honestly never occurred to me and I can't remember really seeing it before. It makes me wonder if that feeds into disconnects on things like ChatControl and other government backed efforts to try to use physical coercion to achieve what they cannot via peaceful means. If you don't mind (and see this at some point, or even read this far since this has turned into a long-ass post) could you share what you think about the EU's proposal there, or the UK's or the like? Did you think they could do it anyway so trying to pass a law to force backdoors to be made is a cover for existing capabilities, or what? I'm adamantly opposed to all such efforts, but it's not typically easy to get even the tech literate public on-side. Now I'm curious if thinking encryption is breakable anyway might somehow play a role.

      ----

      0: https://www.quantamagazine.org/tag/cryptography/

      1: https://github.com/hacl-star/hacl-star

      2: https://blog.mozilla.org/security/2020/07/06/performance-imp...

      thread
    4. tptacekMar 2025
      Cryptography Engineering definitely does not hold up. It predates (almost willfully, given the chronology) modern notions of AEAD, key derivation, random number generation, and elliptic curve asymmetric cryptography.

      The standard recommendation these days is Aumasson's Serious Cryptography. I like David Wong's Real-World Cryptography as well.

      thread
    5. AlotOfReadingJun 2024
      For the mathematical background (i.e. the theory and behavior in idealized models), standard cryptography books are excellent. I recall that both Serious Cryptography and Handbook of Applied Cryptography have excellent introductions to the topic of rho structures that underlie the specific issue I mentioned. Where I've found them lacking is getting a practical understanding of how important these issues are in the specific situations we see in the real world.

      For example, if you were to run Blake2b in 8 bit mode with the above construction, what would your PRNG period actually be? In the ideal case it would 2^(8). In practice, the best you'll get is 26 or 10% of the ideal case. There's a significant probability you won't get that either for a given seed, as much of the state space actually drops into a lower period cycle. The issue is that a real hash isn't the correct construction here, even though a mathematically ideal hash would be fine.

      I'm not aware of any actual reference material for that kind of stuff and the people I've met who are knowledgeable learned from seeing other's mistakes.

      thread
    6. helpfulclippyMay 2024
      "Serious Cryptography" is good. There's an updated edition dropping later this year.

      "Real World Cryptography" is also good.

      thread

    Related

    Real-World CryptographyDavid Wong
    2020–2025

    Real-World Cryptography

    David Wong
    16 recommend · 33
    Cover of An introduction to mathematical cryptography
    2014–2025

    An introduction to mathematical cryptography

    Jeffrey Hoffstein
    5 recommend · 6
    Cover of Cryptography Made Simple
    2020–2026

    Cryptography Made Simple

    Nigel Smart
    6 recommend · 7
    Cover of Post-Quantum Cryptography
    2012–2015

    Post-Quantum Cryptography

    Hongxi Yin
    1 recommend · 3
    Cover of Cryptography engineering
    2010–2026

    Cryptography engineering

    Niels Ferguson
    50 recommend · 116
    Cover of Applied Cryptography
    2008–2026

    Applied Cryptography

    Bruce Schneier
    76 recommend · 258
    Cover of Handbook of applied cryptography
    2011–2026

    Handbook of applied cryptography

    Alfred J. Menezes
    14 recommend · 25
    Cover of Practical cryptography
    2008–2026

    Practical cryptography

    Niels Ferguson
    17 recommend · 55