Get Instant Help From 5000+ Experts For
question

Writing: Get your essay and assignment written from scratch by PhD expert

Rewriting: Paraphrase or rewrite your friend's essay with similar meaning at reduced cost

Editing:Proofread your work by experts and improve grade at Lowest cost

And Improve Your Grades
myassignmenthelp.com
loader
Phone no. Missing!

Enter phone no. to receive critical updates and urgent messages !

Attach file

Error goes here

Files Missing!

Please upload all relevant files for quick & complete assistance.

Guaranteed Higher Grade!
Free Quote
wave
CS6035 Introduction to Information Security
Answered

Questions:
  1. Consider a process (A) that generates one of the following characters every second: A-Z, a-z, 0-9, $, or %.  

Characters

Probability of one of the characters

0-9

1/16

A-Z

1/(8*26)

a-z, $, %

1/(4*28)

 
What is the Entropy of this system?  You can do it by hand or use a spreadsheet or code.  Please describe or show your work.
  1. If each character above is equally likely, what's the Entropy?
  2. Now, consider process B that generates two characters uniformly randomly every two seconds to generate a two-character message, e.g. ZY or CC.  What's the entropy of each two character message?  What's its relationship to your answer in part b and why?
2. Consider a physical door lock with a 16 character key pad (0-9 and A-F). The lock stores a single 4 character password which a user must enter to unlock the door. Alice is in charge of generating passwords and programming the lock. Bob wishes to guess the password, but has no information other than the general mechanism Alice uses to generate the passwords.

Calculate Bob's Expected Uncertainty (Entropy) in the password given Alice's following approaches.

  1. Alice is numerophobic so she chooses uniformly random letters only…. no numbers.
     
  2. Alice chooses each character by pulling the characters out of a hat and then replacing the characters before drawing another. (Cryptographically random)

  3. Alice flips a fair coin 4 times to generate a number between 0 and 15. We will call this number, s.  The first character is the hexadecimal representation of s.  The second character is hexadecimal representation of (2s +1) mod 16. The third is the hexdecimal representation of (3s+ 2) mod 16 and the fourth is (s+15) mod 16. 

  4. Alice chooses four character l33t speak words at random that are representable using 0-9 and A-F … see http://www.datagenetics.com/blog/march42013/index.htmlfor a list of such words.

  5. (This one you cannot directly calculate.) Alice chooses words as in d, but instead of by uniform chance, she picks familiar words to her.  What happens to the resulting entropy in comparison to d) and b).

support
Whatsapp
callback
sales
sales chat
Whatsapp
callback
sales chat
close