$ python3 bob.py 1 1
key for wire 4: b'wire key: 3\x03H!\xb1B\xb2\x18\xa3\xc7\xa6\x94A\x15uU\x942\x0e\x14\x88'
key for wire 5: b'wire key: \xb0\xa7\xd4\x82\xe86\x9f;f\xb8f\n\x95j\x8f)N@V\x14"'
key for wire 6: b'wire key: \xcc\x00\xc3\xd2\xd5\xd0\x0bO\xb0\xb5\x1c\xc2\xdb.\xcd\xefIS\xdf\xa0\x8a'
key for wire 7: b'wire key: M\xb2\x9d\xadO|\x987\x9c\x0c\xab\xffcc\xe4\x86(TQ\x8a}'
key for wire 8: b'wire key: \xb2!Ji\x0c\xdcxw\xee{\xf1\xd8\x0cW\x97\x1f\xfa\xc9\xbf\x81i'
output is 0
$ python3 alice.py 1 1
| |
Submit
Execute Yao's protocol at least three times with different inputs, and give screenshots in your
report.
[15pts] Part 3: Writing a Lab Report
Please explain and show your work. Write a lab report by using the provided
template (check the lab ground rules). The writing quality of the lab
report matters.
- For each part, briefly explain the ideas of your work in the lab report.
~/bin/submit garbled_circuit.py ot.py alice.py lab_report.docx
|