Homework Assignment #2 (Due by 10/20/2017)

Note:
(1). This homework assignment covers topics 4.
(2). You must use text editor (e.g. MS Word or Latex) to complete your homework.
(3). You should submit both a hardcopy to TA and an e-copy through blackboard.
(4). The programming assignment (Problem 8) should be submitted according to requirements and notes.

1. (15 points) Problem 2 on page 143.

2. (15 points) Problem 6 on page 144.

3. (15 points) Problem 9 on page 144.

4. (15 points) Problme 12 on page 145.

5. (20 points; 2.5 points per item) Problem 14 on page 145.

6. (10 points) Problem 18 on page 145.

7. (10 points) Problem 19 on page 146.

 

Bonus Question

8. (20 points) Implement H-MAC using SHA-1. Check out the requirements and notes.

Java Crypto extension reference guide.

Download Bouncy Castle Security Provider.