{"id":19247352,"url":"https://github.com/ferjanimy/bb84_protocol_v1","last_synced_at":"2025-08-26T08:11:57.354Z","repository":{"id":198563626,"uuid":"248634502","full_name":"FerjaniMY/BB84_protocol_v1","owner":"FerjaniMY","description":"Possible implementation of BB84 protocol using Simulaqron","archived":false,"fork":false,"pushed_at":"2020-04-24T16:40:42.000Z","size":595,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-11T09:59:33.652Z","etag":null,"topics":["bb84","bb84-protocol","chat","qkd","quantum","quantum-algorithms","quantum-computing","quantumcryptography","simulaqron"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FerjaniMY.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-03-20T00:37:04.000Z","updated_at":"2025-03-25T05:37:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b75be54-81d9-42c4-82e1-ba80cb48df39","html_url":"https://github.com/FerjaniMY/BB84_protocol_v1","commit_stats":null,"previous_names":["ferjanimy/bb84_protocol_v1"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FerjaniMY/BB84_protocol_v1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FerjaniMY%2FBB84_protocol_v1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FerjaniMY%2FBB84_protocol_v1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FerjaniMY%2FBB84_protocol_v1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FerjaniMY%2FBB84_protocol_v1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FerjaniMY","download_url":"https://codeload.github.com/FerjaniMY/BB84_protocol_v1/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FerjaniMY%2FBB84_protocol_v1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272192669,"owners_count":24889452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"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":["bb84","bb84-protocol","chat","qkd","quantum","quantum-algorithms","quantum-computing","quantumcryptography","simulaqron"],"created_at":"2024-11-09T17:37:15.138Z","updated_at":"2025-08-26T08:11:57.327Z","avatar_url":"https://github.com/FerjaniMY.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BB84 protocol QKD :\n\n![](https://github.com/FerjaniMY/BB84_protocol_v1/blob/master/images/F1.png)\n\n![](https://www.google.tn/url?sa=i\u0026url=https%3A%2F%2Fpplware.sapo.pt%2Finformacao%2Finvestigadores-quebraram-a-criptografia-quantica-inquebravel%2F\u0026psig=AOvVaw0R89n1zU_JGYePIMuomHcy\u0026ust=1586459451373000\u0026source=images\u0026cd=vfe\u0026ved=0CAIQjRxqFwoTCNDqsprE2egCFQAAAAAdAAAAABAI)\n### BB84, version 1(Without Noise)\n* Generate raw key \n* Sift the key \n* Reduce Eve’s information on the new key (privacy amplification)\n* Implement Eavesdropper attack\n### TO DO LIST :\n* Authenticate the messages on the classical channel\n* Simulate noisy qubits and implement error correctiong codes\n* Develop a new socket communication class \n\n###  Simulaqron \nSimulaQron is an application level simulator for a quantum internet that allows you to program your own quantum internet applications. Explore how to realize software for a quantum internet connecting local quantum processors by quantum communication, and develop your own libraries and software engineering concepts suitable for a quantum internet.\nhttp://www.simulaqron.org/\n![](https://d3i71xaburhd42.cloudfront.net/59a22ddee5a38458cbbf624091629ab3467954d3/4-Figure2-1.png)\n### How to use ?\n###### For linux :\n\n* run.sh :Execute Alice and Bob without Eavesdropping , generate 1 bit key ----\u003e `sh run.sh`\n* run+Eve.sh : Execute Eve (Man in the middle attack) ------\u003e `sh run+Eve.sh`\n* n_run.sh : run the program n times (n=10) in order to obtain n_bit key -----\u003e `bash n_run.sh`\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferjanimy%2Fbb84_protocol_v1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fferjanimy%2Fbb84_protocol_v1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferjanimy%2Fbb84_protocol_v1/lists"}