T2 Flashcards

1
Q

What is openSSL

A

a software tool used for encrypting text (has built in ciphers)

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

what is inputted and outputting in the first openssl operation we do

A

input plaintext.txt ouput ciphertext.bin

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

what is key derivation in reference to the warning we get after obtaining ciphertext.bin?

A

process of converting password into a cryptographic key. Using openSSL built in key derivation function

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

what did warning message say after I tried to encrypt the plaintext.txt file (first operation)

A

that i shold use a robust key derivation function like pbkfd2, so i did

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

input + ouput of decryption operation

A

input ciphertext.bin output plaintext2.txt

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

how to verify that decryption worked

A

diff plaintext2.txt plaintext.txt

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

list all ciphers available on openssl

A

openssl help

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

test speed of encryption cipher on your system

A

openssl speed < name of cipher >

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

how can you improve performance of a cipher

A

run encryption/decryption on multiple cpu cores (not more than you have though!)

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

is 10^6 decryptions/nano second realistic for hardware of hacker

A

yes, GPUs can do this and brute force modern DES 56-bit keys in around 10 hors

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

how much faster was aes than des

A

in terms of encryption/decryption, 800 mb/s vs 40 mb/s

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