I can't speak to the rest of the book, which seems like a pretty ambitious effort, but the crypto content needs to be burned out of it with a scorching torch.
"Security" is a big topic. For cryptography, a good (but inadequate) starting point is _Cryptography Engineering_. If you write cryptography the way this book suggests you should, you will implement egregious vulnerabilities.