Implement sendMessage and receiveMessage

This commit is contained in:
hinuiiik
2026-10-22 23:21:13 -04:00
parent 0fcc0267dc
commit ec5b6322df
2 changed files with 24 additions and 7 deletions
+2 -2
View File
@@ -54,8 +54,8 @@ print("Testing Reporting")
content = "inappropriate message contents"
reportPT, reportCT = alice.report("Bob", content)
decryptedReport = server.decryptReport(reportCT)
print(reportPT)
print(decryptedReport)
# print(reportPT)
# print(decryptedReport)
if decryptedReport != reportPT:
error("report did not decrypt properly")
print(reportPT)