UNIVERSITY OF MASSACHUSETTS
Department of Electrical and Computer Engineering
ECE 597/697XX: ST  Introduction to Cryptography
Fall 2016
Description: A course on the theory and practice
of cryptography. The main focus is on
how crypto algorithms and protocols work, and how they can
be applied in the real world.

The topics to be covered include:
 1. Introduction.
 2. Stream ciphers and pseudorandom number generators.
 3. Symmetric ciphers: Data Encryption Standard (DES) and
Advanced Encryption Standard (AES).
 4. Publickey cryptography  introduction.
 5. Asymmetric algorithms: RSA, ElGamal and Elliptic curves.
 6. Digital signatures and Message Authentication codes.
 7. Hash functions, security services and key distribution.
 8. Sidechannel attacks on cryptographic systems.
 Lecture venue: MoWe 2:303:45, Marcus 106.
 Schedule highlights:
 Final exam on Fri. Dec 16, at 3:305:30pn in Marcus 106.
Midterm Exam: October 26, 2016, 2 hours, 2:304:30pm.
Material covered: Chapters 16.
You may use during the exam your own lecture notes, graded homeworks and
the course lecture notes only.
No other materials including books, internetconnected devices or any software
tools are allowed. Simple calculators are allowed.
Final Exam: Friday, Dec. 16, 3:305:30pm.
You may use during the exam your own lecture notes, graded homeworks and
the course lecture notes only.
No other materials including books, internetconnected devices or any software
tools are allowed.
Homework Assignments:
OWL quizzes
Select "University of Massachusetts at Amherst", "Electrical and
Computer Engineering."
If you registered late, access OWL through the link in
Moodle.
The deadlines below are tentative and subject to change.
 Quiz 1 (Ch. 1)  due Sept. 16.
 Quiz 2 (Ch. 2,3)  due Sept. 23.
 Quiz 3 (Ch. 4)  due Oct. 3.
 Quiz 4 (Ch. 5)  due Oct. 26.
In addition, solve the following problems and write/print on paper:
Chapter 5  5.8, 5.16,
and using the online AES encryption/decryption tool at
http://cryptojs.altervista.org/secretkey/aes_cryptojs.html ,
answer the questions below.
The base 64 encoding table can be found at
http://en.wikipedia.org/wiki/Base64.
A Base 64 to HEX (and vice versa) converter can be found at
http://tomeko.net/online_tools/base64.php?lang=en.
 Encrypt your name and your home address using all the five modes ECB,
CBC, OFB, CFB and CTR, and the padding options NoPadding, ZeroPadding and
PKCS7. Indicate the differences between the resulting ciphertexts and explain
the differences between the padding schemes. Notice that you can set the IV
and Salt to any value including 0.
 Explain the purpose of the Salt. What is the use of the Salt,
the IV and the Padding?
 Quiz 5 (Ch. 6)  due Oct. 26.
 Quiz 6 (Ch. 7)  due Nov. 1.
 Quiz 7 (Ch. 8)  due Nov. 7.
 Quiz 8 (Ch. 9)  due Nov. 21.
 Quiz 9 (Ch. 10)  due Nov. 30.
 Quiz 10 (Ch, 11,12)  due Dec. 5.
Chapter 11  11.7; Chapter 12  12.2, 12.4, 12.5 (1).
 Quiz 11 (Ch. 13)  due Dec. 12.
Chapter 13  13.1, 13.10, 13.13.
Lecture notes (pdf format):

Part 1,
Part 2

Part 3,
Part 4

Part 5,
Part 6

Part 7,
Part 8

Part 9,
Part 10

Part 11 (new version, Nov. 8, 2016),
Part 12

Part 13,
Part 14 (Fault Injection Attacks  Part 1),

Part 15 (Fault Injection Attacks  Part 2)
 Sample
final test questions (to be discussed on Wed. Dec. 14).
Instructor:
Prof. Israel Koren, KEB 309E, Tel. 5452643,
Email:
koren 'at' ecs.umass.edu
Prerequisites:
Recommended: Courses in Discrete Mathematics and Finite Field Mathematics.
Recommended books:
Recommended reading:
Links:
Schedule:
Mon.Wed. 2:303:45pm (in Marcus 116).
Office Hours: Tue.Thur. 4:005:00 or by appointment.
Course web page:
All details regarding the course will be available at:
http://euler.ecs.umass.edu/ece597.
Grading:
 Homework  15%
 Midterm  30%
 Final Exam  55%