Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CYSE 476 Assignment 3 1) Pseudo Random Number Generation Task 1: Generate Encryption Key in a Wrong Way This task analyzed the use of a
CYSE 476 Assignment 3 1) Pseudo Random Number Generation Task 1: Generate Encryption Key in a Wrong Way This task analyzed the use of a seed in generating a random number. The first screenshot shows the output of the script with the seed as the time. Next, as seen in the second screen shot, the seed function was removed, and rand() was run on its own. Questions: What does the output value represent? Why is it a different value after each run of the program? What happened when the srand() was removed or commended out for the second screenshot? Task2: What is the key? How you guessed the key? What is the code? Attach the code as a separate file. Task 3: Measure the entropy of the Kernel The command provided displays the entropy of the Kernel in the terminal screen, allowing us to analyze the entropy and how various factors affect the entropy. The screen shot below shows the entropy of the Kernel while running the browser. Questions: What happens to the entropy value when you visit multiple sites? Why? List other ways to generate and increase the entropy? Task 4: Get Pseudo Random Numbers from /dev/random When /dev/random was run, several random numbers generated immediately. The screenshot below shows the entropy of the system above and the pseudo random numbers that were generated below. Questions: - Why /dev/random stops generating random numbers? - If a server uses /dev/random to generate the random session key with a client. Please describe how you can launch a Denial-Of-Service (DOS) attack on such a server? - Why is it preferred to use /dev/urandom over /dev/random?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started