{"id":26227826,"url":"https://github.com/sftss/r4.c.08-cryptographie","last_synced_at":"2026-04-29T04:07:39.595Z","repository":{"id":281816354,"uuid":"945845354","full_name":"sftss/R4.C.08-Cryptographie","owner":"sftss","description":"Algorithm for securing message transmission","archived":false,"fork":false,"pushed_at":"2025-03-31T13:31:42.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-31T21:17:03.786Z","etag":null,"topics":["aes-encryption","cryptography","hashing-algorithm","python","rsa-cryptography"],"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/sftss.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-10T08:11:03.000Z","updated_at":"2025-04-15T12:17:27.000Z","dependencies_parsed_at":"2025-03-11T10:24:55.620Z","dependency_job_id":"16b51dde-2372-4d8e-834f-924e63eb1fc0","html_url":"https://github.com/sftss/R4.C.08-Cryptographie","commit_stats":null,"previous_names":["sftss/r4.c.08-cryptographie"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sftss/R4.C.08-Cryptographie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sftss%2FR4.C.08-Cryptographie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sftss%2FR4.C.08-Cryptographie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sftss%2FR4.C.08-Cryptographie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sftss%2FR4.C.08-Cryptographie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sftss","download_url":"https://codeload.github.com/sftss/R4.C.08-Cryptographie/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sftss%2FR4.C.08-Cryptographie/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32410011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T03:46:11.172Z","status":"ssl_error","status_checked_at":"2026-04-29T03:37:55.317Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["aes-encryption","cryptography","hashing-algorithm","python","rsa-cryptography"],"created_at":"2025-03-12T20:19:51.162Z","updated_at":"2026-04-29T04:07:39.567Z","avatar_url":"https://github.com/sftss.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# R4.C.08 (Cryptography) - Overview\n\nThe goal of this course is to build a secured file transfer application in Python.\nThe client-server architecture is already given in this repository, all you have to do is to add your code to encrypt and decrypt messages and files, and to compute files' hashes.\n\n# Goal\n\nThe server will wait the client connection. Once it is connected, the server will securely send a binary file to the client which will save it to its own disk.\n\n# What to do\n\nHere a step-by-step todo list to build the required application:\n\n-------- Secure the key transfer with RSA ----------\n\n1. generate RSA public and private keys on both side (client \u0026 server) ✔\n2. exchange public keys to initiate a secured communication ✔\n3. the server must generate a key to encrypt the file (to send) with AES ✔\n4. the server's key is crypted with the client's public key and sent to it ✔\n5. the client receives the key and decrypt it ✔\n\n-------- Compute the file's hash ----------\n\n6. the server computes the hash of its encrypted file with SHA-3 ✔\n7. the server encrypts the hash with the client's public key and send it ✔\n8. the client received the hash and decrypt it with its private key ✔\n\n-------- Secure the file transfer with AES ----------\n\n9. the server encrypts its file with AES and send it to the client ✔\n10. the client receives the file and compute the hash value of this file. It compares the hash to the received one ✔\n11. the client decrypts the file with the key received ✔\n12. the client stores the uncrypted file on its disk ✔\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsftss%2Fr4.c.08-cryptographie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsftss%2Fr4.c.08-cryptographie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsftss%2Fr4.c.08-cryptographie/lists"}