RSA Flashcards
Symmetric key algorithms advantages
Simpler algorithm structure
Shorter key lengths
Very fast to implement
Symmetric key algorithms disadvantages
Key distribution must be via a secure channel
Cannot offer non- repudiation
Public key algorithms advantages
Does not need a shared secret key
Offers non repudiation (as can be used as digital signature)
Public key algorithms disadvantages
Complex algorithms based on number
Long key lengths
Very slow to implement
In symmetric key cryptography an algorithm which has a key length of n-bit has n bit security level
True
Two techniques used to speed up the performance of RSA
Square and multiply- reduces number of multiplications needed therefore speeding up encryption and decryption
Small public exponent (e)- choosing small e allows faster encryption by reducing number of operations required in modular exponentiation step.
Encryption in triple DES
Encrypt plaintext using key 1
Decrypt output using key 2
Encrypt the output from step 2 using key 3
Decryption in triple DES
Decrypt the cipher text using key 3
Encrypt the output using key 2
Decrypt the output from step 2 using key 1
How can triple DES operate with three different keys
Encrypt the plaintext with key 1
Decrypt result using key 2
Encrypt the result again with key 3