Hi! I'm the author. Happy to answer questions.
Hi lvh, Do you intend to complete this book at some indeterminate point in the future? Is there anything that any of us can do to help make it happen?
Crypto 101 – Introductory course on cryptography
31–40 of 74 posts
Re: Crypto 101 – Introductory course on cryptography
#32Earlier quoted context omitted.
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…
> Many (most?) stream ciphers actually use blocks internally. I don't think there have been any new designs for a good while that didn't. RC4 is, I think, the last actual stream cipher that saw widespread use (apart from designed-as-broken telco crypto). The same observation can be made for classified crypto, where they used to use bit-stream ciphers like Walburn or Saville (efficient, relatively low gate count hardw…
More generally, I think the distinction between a "block-based stream cipher" and a block cipher (or permutation) mode is the degree to which you abstract away the block cipher. Personally I wouldn't put them together. Counter mode completely abstracts away the cipher, assuming it is an idealized pseudorandom function; sponge-based modes also abstract away the permutation as ideal in most cases; stream ciphers usually do not do this, and use weaker (but still sometimes block-based) primitives to generate output. There are, for example, sponge modes that use very few rounds past the initialization, which makes them more streamy than spongy. So their cryptanalysis is often different.
Re: Crypto 101 – Introductory course on cryptography
#33Earlier quoted context omitted.
> Many (most?) stream ciphers actually use blocks internally. I don't think there have been any new designs for a good while that didn't. RC4 is, I think, the last actual stream cipher that saw widespread use (apart from designed-as-broken telco crypto). The same observation can be made for classified crypto, where they used to use bit-stream ciphers like Walburn or Saville (efficient, relatively low gate count hardw…
Most of the eSTREAM finalists ( http://www.ecrypt.eu.org/stream/index.html ) are not block-based. I think only Salsa20 matches that description. More generally, I think the distinction between a "block-based stream cipher" and a block cipher (or permutation) mode is the degree to which you abstract away the block cipher. Personally I wouldn't put them together. Counter mode completely abstracts away the cipher, assum…
Just to make sure I understand you correctly, for example:
- CTR: definitely a stream cipher, and a synchronous one at that
- CBC: maybe a little like a stream cipher (you're e.g. exposed to the block width, and also less like most stream ciphers because asynchronous)
- AEZ: extremely not (because you're exposed to round counts)
That makes perfect sense to me, since that's where I felt the analogy started getting tenuous :)
Re: Crypto 101 – Introductory course on cryptography
#34Earlier quoted context omitted.
Most of the eSTREAM finalists ( http://www.ecrypt.eu.org/stream/index.html ) are not block-based. I think only Salsa20 matches that description. More generally, I think the distinction between a "block-based stream cipher" and a block cipher (or permutation) mode is the degree to which you abstract away the block cipher. Personally I wouldn't put them together. Counter mode completely abstracts away the cipher, assum…
> More generally, I think the distinction between a "block-based stream cipher" and a block cipher (or permutation) mode is the degree to which you abstract away the block cipher. Just to make sure I understand you correctly, for example: - CTR: definitely a stream cipher, and a synchronous one at that - CBC: maybe a little like a stream cipher (you're e.g. exposed to the block width, and also less like most stream c…
Re: Crypto 101 – Introductory course on cryptography
#35There is also a cryptography course from Udacity: https://www.udacity.com/course/applied-cryptography--cs387
Re: Crypto 101 – Introductory course on cryptography
#36+1 for the fact that the "get book" button on linked site just downloads the pdf .
VirusTotal seems to be cool with the file too, so that's how it should be.
https://www.virustotal.com/#/file/fe42077288cfaa6d1d1b83c088...
Re: Crypto 101 – Introductory course on cryptography
#37+1 for the fact that the "get book" button on linked site just downloads the pdf .
Thanks, for the comment. I wouldn't have bothered with this otherwise. Normally a "Download our PDF|Whitepaper|Whatever" is a 100% sure way to make me close a site immediately nowadays - and this is what I did. Just stumbled upon your comment because the tab was still open and it was the first comment. VirusTotal seems to be cool with the file too, so that's how it should be. https://www.virustotal.com/#/file/fe42077…
It doesn't read as well as the PDF because there's a ton of illustrations and _something_ has to render them.
Re: Crypto 101 – Introductory course on cryptography
#38Re: Crypto 101 – Introductory course on cryptography
#39Oh 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?
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.
Re: Crypto 101 – Introductory course on cryptography
#40Oh 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?
Do you mean "Serious Cryptography"? Applied Cryptography isn't a No Starch Press book.