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 Handbook of applied cryptography

    Handbook of applied cryptography

    Alfred J. Menezes · 1996

    Cryptography, in particular public-key cryptography, has emerged in the last 20 years as an important discipline that is not only the subject of an enormous amount of research, but provides the foundation for information security in many applications. Standards are emerging to meet the demands for cryptographic protection in most areas of data communications. Public-key cryptographic techniques are now in widespread use, especially in the financial services industry, in the public sector, and by individuals for their personal privacy, such as in electronic mail. This Handbook will serve as a valuable reference for the novice as well as for the expert who needs a wider scope of coverage within the area of cryptography. It is a necessary and timely guide for professionals who practice the art of cryptography. The Handbook of Applied Cryptography provides a treatment that is multifunctional: It serves as an introduction to the more practical aspects of both conventional and public-key cryptography It is a valuable source of the latest techniques and algorithms for the serious practitioner It provides an integrated treatment of the field, while still presenting each major topic as a self-contained unit It provides a mathematical treatment to accompany practical discussions It contains enough abstraction to be a valuable reference for theoreticians while containing enough detail to actually allow implementation of the algorithms discussed Now in its third printing, this is the…

    Security & Privacy
    Open LibraryAmazon
    Stats for nerds
    14recommend
    25mentions
    24people
    2011–2026years
    56% recommend44% neutral

    Mentions per year

    201120132015201720192021202320252026

    What Hacker News says

    1. mik1998Oct 2026
      Handbook of Applied Cryptography is a good reference for implementing classic cryptographic algorythms.
      thread
    2. teleforceJul 2025
      Thanks for the link.

      You can download this entire Handbook of Applied Cryptography for free [1].

      Recently the authors also provided online course and video namely:

      - Cryptography 101: Building Blocks (fundamental cryptographic primitives) [2]

      - Cryptography 101: Real-World Deployments (PKI, TLS, Bluetooth, AWS, Signal) [3]

      Other courses and video includes:

      - The Mathematics of Lattice-Based Cryptography (introductory course)

      - Kyber and Dilithium (standardized lattice-based cryptosystems)

      - Hash-based signature schemes (LMS, XMSS, SPHINCS+)

      - Error-Correcting Codes (linear, Hamming, Golay, cyclic, BCH, Reed-Solomon codes

      [1] Handbook of Applied Cryptography:

      https://cacr.uwaterloo.ca/hac/

      [2] Crypto 101: Building Blocks:

      https://cryptography101.ca/crypto101-building-blocks/

      [3] Crypto 101: Real-World Deployments:

      https://cryptography101.ca/crypto101-deployments/

      thread
    3. 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
    4. vivegiMay 2022
      For me it is

      Handbook of Applied Cryptography by Alfred J. Menezes, Paul C. van Oorschot and Scott A. Vanstone https://cacr.uwaterloo.ca/hac/ (link has all chapters available for free under permission from CRC Press)

      thread
    5. dreamcompilerJul 2021
      I learned Montgomery multiplication from the Handbook of Applied Cryptography (Menezes, Oorschot and Vanstone), and coded it directly from the pseudocode therein. Not to mention lots of other crypto algorithms. This book is a gold mine.
      thread
    6. throwawaymathApr 2019
      I've given a few textbook suggestions for almost all of the topics you requested, in a preferred order for learning them. But before you look at that list, consider the following:

      I would strongly, strongly advise against trying to learn proof-based mathematics from a textbook (almost all of the math here will be proof-based). The absolute best way to learn mathematics is to have an experienced and competent instructor tailor their pedagogy to you. Failing that, an experienced instructor who is "just okay" but who can e.g. review and critique your work is better than a textbook.

      Learning math is very unlike learning programming. It's a counterintuitive idea, but the information density of math textbooks (whether they're well or poorly written) is generally so high that you can't absorb the material unless you read only a few pages per day. Not only that, but it's usually not the case that a single textbook has the ideal level of exposition for your needs - for example, you don't have linear algebra on here despite it being a prerequisite for basically everything else. Some textbooks treat this subject in a highly theoretical manner, while others treat it at a very applied/computational level. Which suits your needs more? Have you studied it at all?

      If you're actually serious about this, you need to proceed at a slow pace (2 - 5 pages per day) and complete as many exercises as possible. If the exercises are computationally focused you can do fewer, but you should aim to solve as many of the proof-based problems as possible.

      If you go at a rate which will actually allow you to absorb the material, doing this "properly" will take you years. With dedication and not much talent I'd expect it to take as long as an undergraduate degree. With dedication and a lot of talent I could see this being accomplished in two, maybe three years. Once again, I strongly, strongly suggest finding a mentor or instructor.

      In any case, here is a list of the textbooks most mathematicians will consider to be very good:

      1. Calculus

      Calculus, by Spivak

      This gives you a rigorous treatment of calculus, which hopefully you have some familiarity with. After this you can move on to real analysis.

      2. Real Analysis

      Principles of Mathematical Analysis, by Rudin

      You might be ready for this after Spivak's Calculus, but it can be rough. If you can't reproduce a proof of irrationality after reading through the first few pages, work through Tao's Analysis I first.

      3. Topology

      Topology, by Munkres is the absolute gold standard. You should be comfortable with calculus (and hopefully analysis) before tackling this.

      4. Linear Algebra

      Linear Algebra Done Right, by Axler

      This is a thorough introduction to the subject at a theoretical level, with a focus on finite-dimensional vector spaces over fields R and C.

      You should also work through either Linear Algebra by Friedberg, Insel, Spence or Linear Algebra by Hoffman & Kunze for the treatment of more advanced/specialized material and, in particular, determinants (which are notably de-emphasized by Axler).

      Noam Elkies uses Axler for Harvard's Math 55 and has written up notes and remarks for his students; be sure to read them: http://www.math.harvard.edu/~elkies/M55a.16/index.html

      5. Abstract Algebra (Groups, Rings, etc)

      Abstract Algebra by Dummit & Foote is the usual reference text for a first course. It's pretty good. If it's too advanced for you, try Pinter's A Book of Abstract Algebra. For a very challenging (but comprehensive) approach to the subject, try Lange's Algebra.

      6. Category Theory

      Once you have abstract algebra under your belt, a good introduction to category theory is given by Aluffi's Algebra: Chapter 0. I would suggest not trying to dive into this prior to at least encountering fields, groups and rings because it's good to have both the traditional and modern (read: categorical) contexts.

      Also try Category Theory in Context, by Riehl.

      7. Complex Analysis

      Complex Analysis, by Ahlfors. This is an excellent and concise text. You can theoretically approach this before real analysis, but I wouldn't recommend that. Also try Complex Variables, by Churchill & Brown.

      8. Differential Geometry

      Calculus on Manifolds by Spivak. You will want to have a thorough understanding of analysis and linear algebra before approaching this material.

      9. Measure Theory

      This is very advanced material in an analysis sequence; don't jump to this unless you've thoroughly worked through analysis first.

      I would recommend Stein & Shakarchi's Real Analysis: Measure Theory, Integration and Hilbert Spaces.

      10. Probability Theory

      A really rigorous treatment of probability is measure theoretic, but even if you haven't worked with measures before you'll need (real) analysis and linear algebra. Tackle those first.

      Feller's Introduction to Probability Theory is usually a good first course. If you don't like that, try Ross. For truly advanced probability theory, work through Shiryaev or Kallenberg.

      The other things you've asked for are a little under-specified or outside my wheelhouse (in particular, I don't think chaos theory is still emphasized as a field distinct from dynamical systems). You should probably add ordinary and partial differential equations to your list before some of these more specialized topics.

      1. Numerical Analysis

      Numerical Linear Algebra, by Trefethen & Bau. This is the best all-around introduction. Once you've worked through this, try moving on to Matrix Computations by Golub & van Loan. The latter is much more of a reference text.

      2. Cryptography

      You haven't specified what you're looking for here, but given the mathematical bent of your question I'd recommend Goldreich's Foundations of Cryptography (two volumes). Be forewarned: cryptography is a subfield of complexity theory. You should have a strong understanding of complexity theory before embarking on Goldreich's Foundations.

      If you really want to challenge yourself theoretically, work through Galbraith's Mathematics of Public Key Cryptography. The most up to date version is available for free: https://www.math.auckland.ac.nz/~sgal018/crypto-book/crypto-...

      On the other hand, if you're looking for a more implementation-focused text on cryptography, try Menezes' Handbook of Applied Cryptography.

      3. Optimization

      This is extremely broad. There's linear programming, mixed integer programming, nonlinear optimization, stochastic optimization...I can't recommend textbooks targeted at everything here.

      For a good start to the subject of optimization and constraints in general, work through Boyd & Vanderberghe's Convex Optimization. There are additional exercises available from the authors here: https://web.stanford.edu/%7Eboyd/cvxbook/bv_cvxbook_extra_ex...

      thread

    Related

    Cover of Foundations of Cryptography
    2010–2022

    Foundations of Cryptography

    Oded Goldreich
    7 recommend · 11
    Cover of Cryptography engineering
    2010–2026

    Cryptography engineering

    Niels Ferguson
    50 recommend · 116
    Cover of Introduction to modern cryptography
    2013–2026

    Introduction to modern cryptography

    Jonathan Katz
    13 recommend · 20
    The mathematics of public key cryptographySteven D. Galbraith
    2019–2022

    The mathematics of public key cryptography

    Steven D. Galbraith
    2 recommend · 2
    Cover of Practical cryptography
    2008–2026

    Practical cryptography

    Niels Ferguson
    17 recommend · 55
    Cover of An introduction to mathematical cryptography
    2014–2025

    An introduction to mathematical cryptography

    Jeffrey Hoffstein
    5 recommend · 6
    Decade of Lattice CryptographyChris Peikert
    2019–2023

    Decade of Lattice Cryptography

    Chris Peikert
    2 recommend · 2
    Cover of Applied Cryptography
    2008–2026

    Applied Cryptography

    Bruce Schneier
    76 recommend · 258