Live data from Hacker News

Tptacek's Review of "Practical Cryptography With Go"

gist.githubusercontent.com

1–10 of 255 posts

Re: Tptacek's Review of "Practical Cryptography With Go"

#2
This is a good illustration of how, 1) crypto is hard 2) real-world cryptosystem design & implementation is hard and 3) teaching the aforementioned is hard.

I read Schneier's & Ferguson's Practical Cryptography years ago, the only thing I remember about it is the "don't try this at home" message.

Re: Tptacek's Review of "Practical Cryptography With Go"

#3
post #2

This is a good illustration of how, 1) crypto is hard 2) real-world cryptosystem design & implementation is hard and 3) teaching the aforementioned is hard. I read Schneier's & Ferguson's Practical Cryptography years ago, the only thing I remember about it is the "don't try this at home" message.

I recommend Dan Boneh's coursera course, Crypto I, to get a good (basic) grounding in how some of this stuff works. He shows just how easy it is to break bad crypto systems in unexpected ways, and he does it by leading you through 5he attacks and getting you to implement some.

Was rather impressed...

Re: Tptacek's Review of "Practical Cryptography With Go"

#5
post #2

This is a good illustration of how, 1) crypto is hard 2) real-world cryptosystem design & implementation is hard and 3) teaching the aforementioned is hard. I read Schneier's & Ferguson's Practical Cryptography years ago, the only thing I remember about it is the "don't try this at home" message.

> I read Schneier's & Ferguson's Practical Cryptography years ago

I cannot take anyone who advocated MAC-then-Encrypt, in 2010, seriously (in the book Cryptography Engineering: Design Principles and Practical Applications by Niels Ferguson, Bruce Schneier, Tadayoshi Kohno).

The school of cryptography they subscribe to seems to be "crypto is black magic; this is tried and it works and it is pretty much secure because I feel it is secure; experience is everything; proofs can have bugs too" as opposed to a more principled, analytical, methodical, provable security.

This is especially problematic in pedagogical contexts, because the learners, by definition, do not have much experience or calibrated feelings, so they'll be lost or have to copy the design decisions of the authors without taking into account the contexts or that they might be flat wrong. That approach indeed implies the natural advice to someone who wants to learn will be "don't try it at home".

Re: Tptacek's Review of "Practical Cryptography With Go"

#7
post #6

I'll take it on faith that Thomas really wrote this (it's his style), but would the real Thomas 'H' Ptacek please acknowledge that he indeed wrote this (it is labeled 'anonymous').

He actually posted this link yesterday as a comment: https://news.ycombinator.com/item?id=7581868

Re: Tptacek's Review of "Practical Cryptography With Go"

#8
post #6

I'll take it on faith that Thomas really wrote this (it's his style), but would the real Thomas 'H' Ptacek please acknowledge that he indeed wrote this (it is labeled 'anonymous').

From the original discussion: https://news.ycombinator.com/item?id=7581868

Re: Tptacek's Review of "Practical Cryptography With Go"

#9
For those of you who don't know what the acronyms stand for, I've compiled a list, in order by their appearance:

  AES   - Advanced Encryption Standard
  CBC   - Cipher Block Chaining
  PKCS  - Public Key Cryptography Standards
  SHA   - Secure Hashing Algorithm
  MAC   - Message Authentication Code
  PBKDF - Password-Based Key Derivation Function
  NIST  - National Institute of Standards and Technology
  FIPS  - Federal Information Processing Standard
  KDF   - Key derivation function
  CTR   - Counter Mode
  RSA   - Rivest Shamir Adleman (last names of each creator of the RSA algorithm)
  OAEP  - Optimal Asymmetric Encryption Padding
  PSS   - Probabilistic Signature Scheme
  ECDSA - Elliptic Curve Digital Signature Algorithm
  PS3   - Playstation 3?
  DH    - Diffie-Hellman key exchange
  ECDH  - Elliptic curve Diffie-Hellman key exchange
  TLS   - Transport Layer Security

Re: Tptacek's Review of "Practical Cryptography With Go"

#10
post #6

I'll take it on faith that Thomas really wrote this (it's his style), but would the real Thomas 'H' Ptacek please acknowledge that he indeed wrote this (it is labeled 'anonymous').

He actually posted this link yesterday as a comment: https://news.ycombinator.com/item?id=7581868

Ah cool! Thanks. It seemed a little strange to have his name used so prominently in the title here linked to something that did not have his name attached to it or in any other way easily associated. Call me paranoid ;)
Post reply on HN