Live data from Hacker News

Crypto 101 – Introductory course on cryptography

crypto101.io

41–50 of 74 posts

Re: Crypto 101 – Introductory course on cryptography

#41
post #18

Oh interesting. I recently got "Applied Cryptography" in one of the nostarchpress sales. I expected it to be turbo technical and way outside my league but popped it open on a whim one day. So far it's incredibly accessible, does anyone have thoughts on that versus this course? Worth taking the course after I finish Applied cryptography?

Too late to edit: I believe I actually picked up "Applied Cryptography" in a Humble Bundle sale.

Re: Crypto 101 – Introductory course on cryptography

#44
post #40
post #20

Earlier quoted context omitted.

Do you mean "Serious Cryptography"? Applied Cryptography isn't a No Starch Press book.

No, I do mean Applied Cryptography. I may have picked it up in a humble bundle sale in hindsight.

Gotcha. Serious Cryptography is good. Applied Cryptography is... not. Except insofar Latacora making stickers that make fun of it and people printing t-shirts to benefit charities is good of course :-)

Re: Crypto 101 – Introductory course on cryptography

#45
post #11

Hi! I'm the author. Happy to answer questions.

It seems that the downloadable pdf doesn't have a couple of tweaks that have landed in master (https://github.com/crypto101/book). Any plans to generate a slightly updated version ?

PS: Thanks for your work ! Watched your talk and it was a nice quick primer. Glad you turned it into a book with more detail.

Re: Crypto 101 – Introductory course on cryptography

#46
post #11

Hi! I'm the author. Happy to answer questions.

It seems that the downloadable pdf doesn't have a couple of tweaks that have landed in master ( https://github.com/crypto101/book ). Any plans to generate a slightly updated version ? PS: Thanks for your work ! Watched your talk and it was a nice quick primer. Glad you turned it into a book with more detail.

Sure, I should get around to that :-) Really I'd like to make a docker image or similarly repeatable environment that can do builds -- right now it's way too tied to my own environment.

Also: I'm not sure org-mode -> TeX was a great idea.

Re: Crypto 101 – Introductory course on cryptography

#47

Started reading it, pretty good so far! Only thing, why did you choose to introduce block cipher modes in the stream cipher chapter? This makes little sense to me.

It actually makes a lot of sense for practical purposes. This probably looks strange to you because most introductory cryptography texts strictly segregate stream and block ciphers. The standard pedagogical style bifurcates modern symmetric encryption into one of these two categories and talks about things like synchronization, on-the-fly encryption, speed, error correction, etc. between the two. In point of fact, th…

Well, technically it's a question of block size? I'm not aware of any cipher with less than single bit size... And often you'd want byte size at least?

I suppose you could design a cipher that worked on partial bits... But it's difficult to see why...

Re: Crypto 101 – Introductory course on cryptography

#48
post #46

Earlier quoted context omitted.

It seems that the downloadable pdf doesn't have a couple of tweaks that have landed in master ( https://github.com/crypto101/book ). Any plans to generate a slightly updated version ? PS: Thanks for your work ! Watched your talk and it was a nice quick primer. Glad you turned it into a book with more detail.

Sure, I should get around to that :-) Really I'd like to make a docker image or similarly repeatable environment that can do builds -- right now it's way too tied to my own environment. Also: I'm not sure org-mode -> TeX was a great idea.

I used to use org-mode exporting to reveal.js for doing slides. Unfortunately this turned out to be a bit of a pain to get everything set up, especially when collaborating with people who for some have failed to embrace the One True Religion^H Editor. So in the end I changed to using Markdown and pandoc to convert to reveal.js.

As a bonus, using pandoc to convert my org sources to markdown worked reasonably well.

Re: Crypto 101 – Introductory course on cryptography

#49
post #48
post #46

Earlier quoted context omitted.

Sure, I should get around to that :-) Really I'd like to make a docker image or similarly repeatable environment that can do builds -- right now it's way too tied to my own environment. Also: I'm not sure org-mode -> TeX was a great idea.

I used to use org-mode exporting to reveal.js for doing slides. Unfortunately this turned out to be a bit of a pain to get everything set up, especially when collaborating with people who for some have failed to embrace the One True Religion^H Editor. So in the end I changed to using Markdown and pandoc to convert to reveal.js. As a bonus, using pandoc to convert my org sources to markdown worked reasonably well.

Yep, I took exactly the same path. Still use org-reveal sometimes but pandoc is really great and anything-to-anything :)

Re: Crypto 101 – Introductory course on cryptography

#50
post #39

Earlier quoted context omitted.

Incidentally, Applied Cryptography is often critiqued for making crypto seemingly easy and incredibly accessible, which led to some people implementing very nice fails. For practical purposes the later Cryptography Engineering book is probably a better choice.

That's an interesting point. However, I am not interested in implementing/engineering cryptography (ever), just having a decent idea of what's going on. Is this still a failure of the book I should watch out for?

Yes! It hasn't gotten better. I wrote Crypto 101 for a reason -- there are a number of problems I have with both the approach, and even if the approach were good, it's horribly outdated now.

Serious Cryptography is also good and modern.

Post reply on HN