Summary
This chapter introduced symmetric key cryptography. We started with basic mathematical definitions and cryptographic primitives. After this, we introduced the concepts of stream and block ciphers along with the working modes of block ciphers. Moreover, we introduced some practical exercises using OpenSSL to complement the theoretical concepts covered.
In the next chapter, we will introduce public key cryptography, which is used extensively in blockchain technology and has very interesting properties.