{"id":19198391,"url":"https://github.com/simonskodt/secu1-elgamal","last_synced_at":"2026-06-19T15:03:46.796Z","repository":{"id":110811807,"uuid":"540406394","full_name":"simonskodt/secu1-elgamal","owner":"simonskodt","description":"Mandatory handin 1 in Security 1. The goal is to implement the ElGamal public key method.","archived":false,"fork":false,"pushed_at":"2022-10-03T07:54:30.000Z","size":130,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T05:13:44.364Z","etag":null,"topics":["elgamal","encryption-decryption"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonskodt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-23T11:23:33.000Z","updated_at":"2022-10-05T12:39:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac5d0731-752e-4fdc-8c88-2dfb791a3ca6","html_url":"https://github.com/simonskodt/secu1-elgamal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simonskodt/secu1-elgamal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonskodt%2Fsecu1-elgamal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonskodt%2Fsecu1-elgamal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonskodt%2Fsecu1-elgamal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonskodt%2Fsecu1-elgamal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonskodt","download_url":"https://codeload.github.com/simonskodt/secu1-elgamal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonskodt%2Fsecu1-elgamal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34536283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elgamal","encryption-decryption"],"created_at":"2024-11-09T12:21:45.797Z","updated_at":"2026-06-19T15:03:46.769Z","avatar_url":"https://github.com/simonskodt.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ElGamal public key method\n\n**Mandatory exercise 1 in Security 1. The goal is to implement the ElGamal public key method. The assignment is the following:**\n\n- [x] You are Alice and want to send 2000 kr. to Bob through a confidential message. You decide to use the ElGamal public key method. The keying material you should use to send the message to Bob is as follows:\n   * The shared base g=666\n   * The shared prime p=6661\n   * Bob’s public key PK = gx mod p =2227\n\n   Send the message ’2000’ to Bob.\n\n- [x] You are now Eve and intercept Alice’s encrypted message. Find Bob’s private key and reconstruct Alice’s message.\n- [x] You are now Mallory and intercept Alice’s encrypted message. However, you run on a constrained device and are unable to find Bob’s private key. Modify Alice’s encrypted message so that when Bob decrypts it, he will get the message ’6000’.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonskodt%2Fsecu1-elgamal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonskodt%2Fsecu1-elgamal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonskodt%2Fsecu1-elgamal/lists"}