Explain how your algorithm works to generate your key and the reasons why you designed your algorithm the way that you did.
Explain how your algorithm works to generate your key and the reasons why you designed your algorithm the way that you did.
April 28, 2021 Comments Off on Explain how your algorithm works to generate your key and the reasons why you designed your algorithm the way that you did. Uncategorized Assignment-helpWrite an algorithm which generates a session key for Alice and Bob and encrypts it using RSA. (The aim is that Alice and Bob could use this key as the key for your block cipher from Task 3.) In your documentation/video: – Design an algorithm to create a random session key K which is n bits long, where n is the block length of your block cipher from Portfolio Part 1 Task 3. (For example, if your cipher had a block length of 6, then a possible session key would be 110101.) Note that session keys are designed to be refreshed for each new encryption session, so you need a method to algorithmically create a new key when requested. [If your block length was more than 8, you are welcome to use a 6 bit key in this part of the assignment to avoid the numbers getting too big!] Explain how your algorithm works to generate your key and the reasons why you designed your algorithm the way that you did. – Choose two prime numbers p and q and generate an RSA public/private key pair for Bob, explaining the steps you took to do so. Explain how Bob will verify Alice’s signature and what information this gives him about the ciphertext he receives.


