CSCI 497 Assignment 01
30 points
Instruction:
• Show your work (at least 50% penalty otherwise)
Submit a single Word (.doc or .docx) document containing all your answers to the designated folder (“Assignment #1”) under Assignments (at least 10% penalty otherwise). Neither PDF documents nor documents in other formats would be accepted.
• Make sure if you submitted the intended one. It is recommended that you download what has been uploaded and double-check if the correct document has been submitted.
• You can submit as many times as you want, but the last submission will only be graded. If the last submission is made after the deadline, there should be a late submission penalty.
• No plagiarism: Do not copy and paste any from textbooks and other resources to answer questions (Zero will be given otherwise).
• No extension/resubmission request will be accepted.
Note: The instructor and TA will welcome your questions to clarify homework problems but do not ask if what you answered is correct. We may not reply from Friday evening to Monday morning.
Problem 1. Public key pair generation using ECDSA (10 pt.)
Generate a pair of private and public key pair using ECDSA. Capture the screen showing the generation process. Also attach the source code, the generated private/public keys (in the textual format) to your submitted document.
ECDSA package: https://pypi.org/project/ecdsa/
Problem 2. Signing a string containing your CWID and full name (10 pt.)
Sign a string containing your CWID and full name using your private key (created in Problem 1). Then attach the source code, original string and signed string to your submitted document.
ECDSA package: https://pypi.org/project/ecdsa/
Problem 3. Encrypting a string containing your CWID and full name (10 pt.)
Encrypt a string containing your CWID and full name using the following public key or the public key in the text file “publickey.txt”. Then attach the source code, encrypted string to your submitted document.
Encryption package: https://pypi.org/project/eciespy/
Public key:
0x24cc702312cf177b8739b21cb9a27c3e91ef8ed0fa737849928739d32c52b6940026e28547836dfc
dac1f693f111f5cc8f6c3f9670a4692a6595815188da926c
1