Chapter 4 and 5: Public Key Cryptography/ Hash functions Flashcards
There are two keys describe the public key and private key to the sender and recipient
sender uses recipients public key to encrypt
Recipient uses private key to decrypt
Public key cryptography is based on….
trap door one way function, one way meaning it is easy to compute in one direction but hard in the other direction
what is a digital signature
sign by encrypting with your private key, any one can verify the signature by decrypting with public key.but ONLY YOU could have signed it.
the general knapsack is …
NP-complete
general knapsack is ..
hard to solve
super increasing knapsack
is easy to solve, each weight greater than the sum of all previous weights
what are the weakness of knapsack
Trap door, one way, lattice reduction
Trapdoor with knapsack is
convert SIK into general knapsack using modular arithmetic
one way knapsack is
general knapsack easy to encrypt, hard to solve.
knapsack is secure or insecure
insecure
RSA
2 large prime numbers, N=pq is the modulus.
RSA public key is
(N,e)
RSA private key is
d
what breaks the RSA
factoring the modulus breaks the RSA
what is Diffie Hellman (g^a and g^b)
Not used for encrypting or signing
it is based on discrete log problem
in diffie hellman what can trudy find to get k
trudy can find a or by then she gets the key k , if trudy can solve discrete log problem she can find a or b
what must you be aware of in MIM
Man in the middle, attack on diffie hellman