TechKnowSurge
ISC2 CISSP 3.6 CompTIA Security+ 1.4 EC-Council CEH 9.1 Cisco CCST Cybersecurity 1.4 ISC2 CISSP 3.7
VideoSecurityFree

What is Cryptography

Cryptography is the practice of concealing information through encoding, and it has been a cornerstone of secure communication for thousands of years. This content covers the foundational vocabulary and core techniques that underpin modern cryptographic systems.

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

About this video

Cryptography is the practice of concealing information, and while it is deeply embedded in modern cybersecurity, its origins stretch back thousands of years. The discipline is built on a core set of terms and techniques: plaintext refers to a message in its original, readable form, while ciphertext is the encoded output produced through encryption. Decryption is the reverse process, converting ciphertext back into plaintext, and a cipher is the specific algorithm or set of instructions used to perform either operation. The Caesar Cipher, used by Julius Caesar around 58 BC, is one of the earliest known examples—a substitution cipher that shifts each letter of the alphabet by a fixed number of positions. Keys play a central role in making cryptographic systems more secure. A key is the additional piece of information that determines how a message is encoded or decoded, and varying the key between communications significantly increases the difficulty of breaking the cipher. Cryptanalysis is the discipline dedicated to deciphering encrypted messages without prior knowledge of the key or algorithm, often by identifying statistical patterns such as the frequency of repeated characters. Beyond substitution, two other fundamental techniques are covered here. Transposition rearranges the letters of a message rather than replacing them, while steganography takes a different approach entirely—hiding a message within another medium, such as an image or a sentence, without visibly transforming the content. Understanding the distinction between cryptography, which converts a message into an unreadable form, and steganography, which conceals a message within something else, is essential groundwork for studying how information security is implemented across modern systems.

What you'll learn

What's covered

Cryptography Fundamentals

Aligned to

ISC2 CISSP
3.6 Select and determine cryptographic solutions
3.7 Understand methods of cryptanalytic attacks
CompTIA Security+
1.4 Explain the importance of using appropriate cryptographic solutions.
EC-Council CEH
9.1 Cryptography
Cisco CCST Cybersecurity
1.4 Explain encryption methods and applications

Key terms

Cryptography
The practice of securing information by transforming it into an unreadable format using mathematical algorithms.
Cipher
An algorithm used to encrypt and decrypt data.
Encryption
The process of converting readable data into an unreadable format using an algorithm and key to prevent unauthorized access.
Plaintext
The original, readable message before it has been converted into a hidden or encrypted format.
Ciphertext
The scrambled, unreadable output produced after plaintext has been encrypted using a cipher.
Decryption
The process of converting ciphertext back into readable plaintext using a cipher and key.
Key
Additional information used in combination with a cipher to encode or decode a secret message.
Cryptanalysis
The art of reverse engineering or decrypting encoded messages without full knowledge of the cipher or key used.
Substitution
A method of encryption that replaces each element of the plaintext with a corresponding element according to a defined scheme.
Transposition
A method of encryption that rearranges the positions of characters in the plaintext without replacing them.
Steganography
The practice of concealing a message within another medium, such as an image or sentence, so its existence is hidden rather than its content scrambled.

Topics

Cryptography Encryption Decryption Substitution Cipher Transposition Cipher Steganography Cryptanalysis Plaintext Ciphertext

Transcript

Cryptography is not a new subject. In fact, we've been using cryptography for thousands of years. It's just that with all this global access and all this connectivity, the need for cryptography has grown tremendously. There's a whole industry behind this, and it's a very critical part of cyber security.

What the word means

What does this word cryptography mean? It's Greek, and it's made up of two components: crypto, which means conceal, hidden or secret, and graphy, which means drawing, writing, representing, recording, describing, or we can think of it as the art of. So you can think of cryptography as the art of concealing. When it comes to cyber security, we can think of it as the art of concealing information. The example that we're going to use throughout is that we are going to hide, or conceal, the word secret, so we're concealing it into some sort of code like this.

The basic terms

What does the term cryptographers mean? That's just the person who's going to be making or breaking these coded messages.

Plain text is just the message that you have before you actually convert it into a hidden message, whereas cipher text is just what we have after it's been converted. Encryption is what we call the process that happens when we take plain text and turn it into cipher text. Decryption is when we take the cipher text and convert it back to the plain text.

A cipher is just the process or algorithm that we use to either encrypt a message or decrypt a message, so it is the process that it goes through to do this. There are lots of different ciphers out there. It's a type of algorithm. Algorithm is just a generic term, but when it comes to cryptography algorithms, we call those ciphers. Depending on which cipher you choose, this output here, this encrypted format, the cipher text, is going to look quite a bit different.

What an algorithm is

If a cipher is a type of algorithm, what's an algorithm? It's some sort of process that happens. You have some sort of problem or some sort of computation that you need to solve, so there's some sort of output for this, and then you have some sort of input into it. There's an input, it goes through this process, and then there's an output, and that's an algorithm.

An example here is that our algorithm, or our cipher right here, has a set of instructions. This is the process that we go through. We start with the first letter. Our first letter is S, and we look it up on the chart. So we look up S on the chart, and then we substitute the letter with the new letter, which is V, so then we put the V right up here. Next we're going to repeat steps two and three for the next letter, so we're going to take E, which is going to be H, and so we're going to put H there, and so on and so forth. That's the cipher that it's going through to convert this plain text into some sort of cipher text.

This particular cipher is known as the Caesar cipher, because it was used by Julius Caesar around 58 BC. So this is a very old and very simplistic way that you could encrypt and decrypt messages.

Cryptoanalysis

Cryptoanalysis is the art of reverse engineering, or decrypting things without knowing all of the variables that go into it. As an example here, we have our cipher text right here, and being able to reverse engineer to find out what our plain text is without knowing all the details of how to decrypt this.

One thing that they look for is repeated letters. One of the most common letters in the English alphabet is the letter E, so if they see a repeated pattern here, they might try first of all saying, well, if H was an E, let's replace that with an E, and they could reverse engineer to figure out what the key is. In this particular one, the letters are shifted by three, so you'll notice that an A is now a D, a B is now an E, a C is now an F, and all those letters have just shifted by three places. So cryptoanalysis would be able to figure this out pretty quickly.

Keys

There are ways that we can make this a little more complex so that it'll be harder to break. For instance, maybe this time when I send you a message I send it to you with the alphabet shifted by three, but maybe next time it's going to be by six, and maybe the time after that it's going to be by 9. I'm going to shift it a different amount every time I send you a message. Somehow you're going to need to know how many letters you need to shift the alphabet in order to decrypt this message. That's where a key comes in.

A key is additional information that you need in order to encode or decode a secret message. In this case here the secret key is eight, so we shift our alphabet by eight characters, and now when I encode this message, or encrypt this message, an S becomes an A, an E becomes an M. And then when you reverse engineer this, or when you decrypt it, an M becomes an E and an A becomes an S, and you can decrypt that message.

Substitution, transposition and steganography

What we're doing here is a type of cryptography called substitution, where we're substituting in one letter for another letter. Although substitution is one of the most popular, it's not the only way that we can encrypt a message. Transposition is another way that we can encrypt a message, and we do that by shifting the letters: rather than substituting, we shift the letters around.

Steganography is another way that we can hide a message. We're concealing it in something else. An example is maybe I'm concealing this word secret inside a picture, or I've actually concealed the word secret into this little sentence right here. So it's different than cryptography. With cryptography we're actually converting, so secret gets converted into something that is supposedly undecipherable, or we need the key to be able to decrypt that message, versus steganography, which is hiding it into something else.

See if you can point out what the pattern is that spells out secret, that this word is inside this sentence right here, hidden inside there. If you take the first letter of every second word, then we can see that it spells out secret. But as mentioned, we could actually hide it into other things, like this picture could have an embedded message hidden inside of it.

As we move along through this module we're going to be covering a lot of cool information, and we're going to be using these terms as we go, so make sure you have a good understanding of what these terms are.

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 →