Time

7 hours 35 minutes

Difficulty

Intermediate

CEU/CPE

12

### Video Transcription

00:01

Hey, guys. Welcome to another episode of the S S C P Exam Prep. Siri's I'm your host, Peter Simple in This is going to be the third lesson in the fifth Do May.

00:13

So far in the fifth inning, we've taken a look at some of the fundamental concepts of photography

00:19

basically the two different types of ciphers and basically two basic terminology which applies to cryptography.

00:28

You also taking a look at some metric cryptography and ciphers. And now, in today's lesson, we're gonna look att, asymmetric cryptography and hybrid crypt IRS.

00:39

Let's get started.

00:42

The other time of cryptography that is used today is asymmetric cryptography.

00:48

Asymmetric cryptography was male, created to address the practical limitations off. Symmetrical.

00:55

As we said this, most of the limitations of symmetric cryptography are that is the key management issue where it's the same key to encrypt at decrypt, so it's tough to get the key from one spot to the other.

01:11

Asymmetric ta graffiti fixes this by using two keys that are mathematically related but mutually exclusive,

01:19

so the keys are related in a sense that one's used to encrypt and the other is used to decrypt. But they're also exclusive. So they are still two separate keys and you cannot

01:36

figure out one key

01:38

based on the R.

01:40

So since the asymmetric algorithms they are one way functions. So usually you create the private key first. And then from there you create the public. He now private key in public. He doesn't really matter which one you label, but usually be private key is the one you create first,

02:00

and you must hold on to that at all times. That belongs to you and only you and only you should know what the private key is.

02:09

The public one is for everybody else. The public. He is the one that you give the people that you want to send messages to. You can have it on your website. You can have it on you having a bunch of spots.

02:23

And this is usually the one that does the D cryptic. So asymmetric cryptography is really good for confidential messages and non repudiation.

02:35

So how does it work?

02:37

Asymmetric stocking feet works like this. So So say we have a fella named Bob here and Bob wants has had a message to Alice.

02:45

So he says, Hello, Alice. And he encrypts that message with Alice's public key. This is the public. He So this is the key that Bob has easy access to

02:57

s o he encrypted and he sends it to her.

03:00

Now Alice encrypts the message with her private key,

03:06

and then she could read the message. Now this is a confidential message, because once it is encrypted with Alice's public key, the only person that can read it is the person who has Alice's private keep, which is only Alice.

03:23

Now, the other way this works is shows approve of origin. Besides non repudiation factor with this, Alice wants to send a message to bomb. So she says a Bob, and she signs it with her private key.

03:38

And that's that little little signature down at the bottom of the ramp. Little scramble of characters.

03:45

Now, when Bob gets this message

03:47

decrypt

03:50

the, uh, the You little message at the end with Alice's public key

03:55

and then therefore he knows that the message came from Alice because Alice is the only person who could have encrypted the key to begin with. She's the only one has the private key shoot giggling, one who could encrypt that message at the end.

04:14

Asymmetric encryption algorithms. The first is our say so this is an algorithm based on the mathematical challenge of factoring the product of two large prime numbers.

04:24

And then we have the defeat Hellman Out room. This is a key exchange algorithm used to enable to users to exchange symmetric keys, which will be then used for message encryption.

04:36

Now it's important to note they are not

04:40

exchanging keys.

04:42

They are creating a key together, and that is the key that they use for symmetric

04:49

encryption. So the way this works is this in this example, Alison bomb. They both have something in common,

04:59

and they both have a secret color. So in this example, paint is used to they have their common pain.

05:04

They have a secret color,

05:06

and then they mix the common paint and the secret color together and said they get two different mixtures

05:14

Now. At this point, the mixtures air still different, so they can just swap mixtures

05:18

no problem

05:19

through any type of public transport.

05:24

So then once they swapped mixtures, they add their secret colors again, and now they have the common secret out

05:30

swap out pain for like information and then you get a key.

05:36

And then this is the key you used for symmetric encryption.

05:43

A couple of other asymmetric encryption algorithms. Al Kemal, which is based on the work of Defeat Hellman but includes message confidentiality in digital signatures,

05:53

and you looked at curve for photography, which is in our algorithm based on the mathematics off elliptical curves.

06:02

So were the advantages and disadvantages of asymmetric key algorithms. Well, you can send messages without the key exchange. There's never You won't have this problem off, sending the key from one spot to the other with asymmetric key algorithms. It also offers non repudiation,

06:21

access, control

06:24

and integrity.

06:25

All of these things are not offered with symmetric cryptography,

06:30

so some of the downside

06:32

it's kind of slow and slow to a point where it's impractical for frequent transaction. If you have to encrypt or decrypt many times at a rapid rate, asymmetric cryptography is really not really not the best. The cipher text is also larger than the plane tax, which could be a problem.

06:54

So the result

06:56

i word cryptography, and this combines the best of both worlds, So asymmetric cryptography support the key exchange NARC Aviation the message authentication, while the symmetrical photography offers the speed and security of our river.

07:14

So the way this works is you have symmetrical cryptography,

07:20

which will take the plane tax,

07:24

um, encrypted with the key. And then you get the cipher text and then to decrypt that you decrypt it with the same key.

07:31

And then that's how you get the plain text.

07:33

Now,

07:34

instead of this key being transport, this symmetric key

07:39

is encrypted with the public key of the receiver

07:43

send over to the person who's getting it. And then the symmetric key is then decrypted with the private key on a receiver. So instead of the whole message being encrypted with a public key and then decrypted with the private key on Lee, the symmetric key algorithm is that,

08:01

and that provides an easy way.

08:03

I'm sending the key for one spot to the other without slowing down the encryption or decryption process.

08:11

Couple more cryptography concepts Message Digest will take this a little bit. Maurine. The last lesson. Just a small representation off the larger message used for authentication integrity. You have the message authentication code, which is the small walk of data that is generated using a secret key

08:31

and then appended to message. So when the message

08:35

is then read, the person can decrypt it with the public he on then read the message and know it came from them.

08:41

Now Hash all message authentication code is the message authentication code, but it's being hashed using asymmetric key value, and this is used for integrity and orginal authentication.

08:56

Digital signatures. It's really the same thing is like the message authentication code ensures the authenticity integrity of a message. Through hashing and asymmetric algorithms, the digest is encrypted with the centre's private and obviously non repudiation.

09:15

This ensures that the center cannot deny a message was sent by them and that the message is still intact.

09:22

In today's lecture, we discussed asymmetric cryptography and hybrid cryptography

09:30

quiz time.

09:31

All of these are aspects of asymmetric cryptography except

09:35

hey, easy key exchange.

09:37

Be non repudiation,

09:41

see speed or D confidentiality.

09:46

If you said see speed, then you are correct. Remember, one of the disadvantages of asymmetric cryptography is that it's slow, and that's why hybrid cryptography exists in the first place.

10:01

Thanks for watching guys. I really hope you learned a lot in this video, and I'll see you next time

### Up Next

### Systems Security Certified Professional (SSCP)

Obtaining your SSCP certification signifies that you possess the ability to tackle the operational demands and responsibilities of security practitioners, including authentication, security testing, intrusion detection/prevention, incident response and recovery, attacks and countermeasures, cryptography, malicious code countermeasures, and more.

### Instructed By

Pete Cipolone

Instructor