Week 10 Flashcards
(6 cards)
What is the seven Security Goals
- Confidentiality
- Integrity
- Authentication
- Non-repudiation
- Certification
- Access control
- Availability
What is Stream Cipher
Real-time symmetric encryption algorithm
Explain RC4
RC4 is funamental Stream Cipher
Works by:
- Get both Stream and Key value
Key scheduling algorithm
2. Undergo iteration of whole of stream, where S[i], stream value is based on i=( value of previous step +S[iteration] +K[iteration]) mod (length of Stream). Then swap places based on computed value
Keystream generation
3. Formula should be given. Amount of time run based on length of data
Then XOR both result
Explain public key cryptosystem
Contains two keys, one for encryption, the other for decryption
Idea is, anyone can lock it, but only secret key owner can decrypt it
Explain RSA algorithm
- Pick 2 large prime number
- calculate n= pxq and n1=(p-1)x (q-1)
- Encryption key 1 <e <n1, GCD(e, n1)=1
- Decryption key= e^(-1)mod (n1)
It becomes,
- Public key (e, n)
-private key (d, n)
To send encrypt:
-message ^(e) mod n
Decrypt:
- message ^(d) mod n
How to ensure message is not tampered?
Use hash function
-Ensure one way
- Low correlation
- Strong collision resistance