Cryptography Flashcards

1
Q

Cryptography

A

The primary objective is to provide many fundamental security properties we covered earlier: confidentiality, integrity, non-repudiation, and authentication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Confidentiality in Cryptography

A

The fundamental security service provided by cryptography. It helps keep information from an unauthorised person, often referred to as privacy or secrecy. One way of achieving confidentiality is by using mathematical algorithms for data encryption.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Integrity

A

The data may get modified by an unauthorised entity intentionally or accidentally. Provides a means for detecting whether data has been manipulated by an unauthorised user.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Authentication

A

Confirms to the receiver that the data has been sent only by an identified and verified sender.

Two variants; message and entity authentication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is message authentication?

A

Identifies the originator of the message without any regard to the system that has sent the message

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is entity authentication?

A

Assurance that data has been received from a specific entity, say a particular website.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Protecting Passwords

A

Very important to prevent unauthorised access. Common technique is hashing.

Hashing is the transformation of string or characters into a value that represents the original string; hashing the same string outputs the same hash value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Hashing vs Encryption

A

Hashing and encryption are two terms that are often confused or used incorrectly. The key difference is that hashing is a one way function (it is not possible to decrypt and obtain original value), where encryption is a two way function.

Encryption should only be used where it is necessary to obtain the original password as the ability to decrypt is a serious security risk.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Salting a Password

A

Protect against hackers cracking a password hash by using a salt - randomly generated string that is added to each password. Unique for every user so an attacker has to crack hashes one at a time using the salt.

Makes cracking large amounts of data harder as time grows in proportion to number of hashes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly