TechKnowSurge
NIST 800-53 SC-13 CompTIA Security+ 1.4 ISC2 CISSP 3.6 NIST NICE K1120 CompTIA SecurityX 2.3 EC-Council CEH 9.1 NIST NICE K0875
VideoSecurityFree

Modern Cryptography

Modern cryptography supports the core principles of cybersecurity — confidentiality, integrity, availability, authenticity, and non-repudiation — through algorithms, protocols, and encryption methods. This coverage introduces how cryptographic systems are structured and why they matter in protecting data.

Complete this video to capture a CTF flag worth 1 point.

About this video

Cryptography is a foundational element of cybersecurity, directly supporting confidentiality, integrity, and availability — the classic CIA Triad — as well as two additional pillars: authenticity and non-repudiation. Encrypting data ensures confidentiality, while hashing algorithms provide integrity by confirming that information has not been intercepted or altered in transit. Authenticity verifies that a message genuinely originated from the claimed sender, and non-repudiation ensures that neither the sender nor the receiver can deny their role in a communication. Authentication, though sometimes treated separately, reinforces all five of these principles simultaneously. A clear distinction exists between cryptographic algorithms and protocols. An algorithm is a defined sequence of calculations or procedures applied to an input — such as plaintext — to produce a specific output, like ciphertext. A protocol, by contrast, establishes the standardized rules governing communication between systems, including syntax, formatting, signaling, and physical connection characteristics. Protocols routinely incorporate algorithms to carry out their functions securely. IPsec is a practical example of this relationship, allowing administrators to select from multiple encryption algorithms and ciphers for different components of the same communication framework. At a high level, cryptography divides into two categories: hashing and encryption. Hashing generates a fixed fingerprint of a file, password, or other data and is a one-way process — it cannot be reversed the way encrypted data can be decrypted. Encryption breaks down further into symmetric key encryption, where the sender and receiver share the same key, and asymmetric encryption, where each party uses a different key. Symmetric encryption includes stream and block cipher approaches, with DES and AES among the most recognized examples. Asymmetric encryption is represented by algorithms such as Diffie-Hellman and RSA. MD5 and SHA are widely used hashing standards. These categories and examples form the structural foundation for understanding how cryptographic systems are selected, assembled, and applied across modern IT environments.

What you'll learn

What's covered

Modern Cryptography

Aligned to

NIST 800-53
SC-13 Cryptographic Protection
CompTIA Security+
1.4 Explain the importance of using appropriate cryptographic solutions.
ISC2 CISSP
3.6 Select and determine cryptographic solutions
NIST NICE
K1120 Knowledge of Confidentiality, Integrity, Availability, Authenticity, and Non-repudiation (CIAAN) principles and practices
K0875 Knowledge of symmetric encryption principles and practices
CompTIA SecurityX
2.3 Given a scenario, implement appropriate cryptographic protocols and algorithms.
EC-Council CEH
9.1 Cryptography

Key terms

Cryptography
The practice of securing information by transforming it into an unreadable format using mathematical algorithms.
CIA Triad
The three core principles of information security: Confidentiality, Integrity, and Availability.
Confidentiality
The principle that information is accessible only to those authorized to access it.
Integrity
The assurance that data has not been tampered with and remains accurate and complete.
Availability
The assurance that systems and data are accessible and operational when needed by authorized users.
Non-repudiation
The assurance that a party cannot deny having sent or received a message or performed an action.
Authentication
The process of verifying the identity of a user, device, or system.
Hash Function
A mathematical algorithm that converts input data of any size into a fixed-size output value used to verify data integrity.
Symmetric Encryption
An encryption method that uses the same key for both encryption and decryption.
Asymmetric Encryption
An encryption method that uses a public key to encrypt data and a private key to decrypt it.
Cipher
An algorithm used to encrypt and decrypt data.
Authenticity
The assurance that information or a communication originates from the claimed source and has not been fabricated or impersonated. Digital signatures and certificates are common mechanisms for establishing authenticity.

Topics

Cryptography Symmetric Encryption Asymmetric Encryption Hashing Cryptographic Protocols Cia Triad Non Repudiation

Transcript

Why We Need Cryptography

The answer is in the CIA triad: confidentiality, integrity and availability. There's a direct correlation between cryptography and confidentiality, that is, we encrypt things to make them confidential. There is also a direct correlation between cryptography and integrity, that is, there are things that we can do from a cryptography standpoint, like using hashing algorithms, to make sure that we're maintaining integrity.

The correlation between cryptography and availability isn't quite as apparent and clear, but you could just open up your network and hackers will come in and make things unavailable. We need to secure things down, and one of the ways we do that is by securing our passwords with cryptography, and other things with cryptography. So there is definitely a correlation with that as well.

There's a couple of reasons why we should probably add to the list, and that is authenticity and non-repudiation. One thing to note is that all five of these are sometimes referred to as the pillars of cyber security, and there's a lot of references that go beyond just the security triad and include authenticity and non-repudiation on equal grounds with that, where others may group these into integrity. That's one of the reasons why they're off to the side here. We do need to make sure we address that, and it's part of the things that we consider when it comes to cryptography.

I will add actually one more, authentication. But authentication really plays into all of these elements here, because it's going to keep things confidential, keep integrity, keep availability. It really plays into all of these aspects.

Integrity, Authenticity and Non-Repudiation

So what is the difference between integrity, authenticity and non-repudiation?

Integrity means nothing has changed. So if Susan's sending a message to David, nothing has changed along the way, there's no one that has intercepted this, made an alteration to the message and then sent it off to David.

Authenticity is, is the sender valid? When David receives this message it says that it's from Susan. Is it authentic though? Is there authenticity there? Did it actually come from Susan?

And then non-repudiation, that's the idea that Susan can't deny sending this message, that there's some sort of record that she is the one that sent that message, and David can't deny receiving that message and accessing the data.

How Cryptography Works

It works through an algorithm. An algorithm is a process that plaintext goes through to create ciphertext. It's a process and a calculation to spit the ciphertext out on the other side. An example that I gave earlier was something like the Caesar cipher, in which we converted secret into another message.

Algorithms Versus Protocols

There can be some confusion between algorithms and protocols, so I want to address the differences.

An algorithm is a specific sequence of instructions or procedures, calculations, that something will go through, and it's really meant to solve a specific problem. So it's rules, procedures and standards that things will go through, and then you have some sort of input and it'll have an output on the other side.

Versus a protocol, which is more standardized sets of rules for communication. It defines rules, syntax, semantics, synchronization. It will even define physical characteristics like how the connections go together, the coding and signaling that happen on each side, what both sides of this communication should be expecting and what format that should be in. So it's standardizations for communication.

One important thing to note is a lot of times we'll use algorithms for protocols. Protocols will use different algorithms to carry out their function, to carry out this communication. As an example of this, maybe we have a protocol that is communicating between two devices and we want to do it securely. Within that protocol we're going to choose some sort of cipher or some sort of encryption algorithm that we're going to use to secure that communication. So we would choose an algorithm to use within that protocol to carry out its functions securely.

Some of these protocols we actually choose multiple algorithms for. For IPsec we actually have a lot of different ways we can assemble and choose different encryption algorithms, different ciphers, for different components. So this is an example of how we would assemble something together to meet our needs, or meet the needs of the current industry.

Types of Cryptography

We can break down cryptography into different types. Cryptography can be broken down at a high level into hashing and encryption. Hashing is when we create some sort of fingerprint of a program, a file, a password, something to that effect, but you can't reverse this process. It's not like encryption where you can then decrypt it.

Encryption works differently. Encryption can be broken down into two different types: symmetric keys and asymmetric keys. Symmetric keys mean that both the sender and the receiver are using the same key back and forth, versus asymmetric means that they both have different keys. And then from the symmetric key standpoint we can break that down into a stream cipher or block cipher.

Here's a couple of examples for each one of these categories:

  • Hashing has MD5 and SHA.
  • Symmetric key encryption has both DES and AES.
  • Asymmetric keys has both Diffie-Hellman and RSA.

There are of course other examples, but these are some of the most prominent ones.

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →