Cryptography Flashcards

1
Q

What is Salting?

A

A cryptography technique.

Salt is a fixed length, cryptographically strong random value.

Salt is added to the input of hash functions to create unique hashes.

Salt makes hash function look non-deterministic.

Once salt is added, it can be hashed to create a random hash.

If two users have the same password, it doesn’t reveal password duplicates through hashing.

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

What is DES?

How many bits does it use?

Is it secure?

A

Data Encryption Standard

Messages in blocks of 64 bits.
Key of 56 bits.

Not secure - was cracked via a brute force attack.

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

What is asymmetric encryption?

A

Approach where user has 2 keys, one is public and one is private.

Public key is distributed freely.

Person encrypts outgoing message using receiver’s public key.

Only receiver’s private key can decrypt it.

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

What is PEM and PGP?

Which cryptosystems do they use?

A

PEM: Privacy Enhanced Mail. Uses 3DES symmetric key and standards to function with public key cryptosystems.

PGP: Pretty Good Privacy. Uses IDEA cipher for message encoding (sign, encrypt, decrypt emails)

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

What is SSL? What is S-HTTP?

How do they work?

A

SSL: Secure Socket Layer protocol: uses public key encryption to secure a channel over the internet.

S-HTTP: Secure Hypertext Transfer Protocol: application of SSL over HTTP, encrypts information passing between computers through protected and secure virtual connections.

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