{"id":17806129,"url":"https://github.com/leejiajia11/s-des","last_synced_at":"2026-04-24T16:35:50.319Z","repository":{"id":258136309,"uuid":"865257393","full_name":"Leejiajia11/S-DES","owner":"Leejiajia11","description":"重庆大学，信息安全导论课程第一次作业。利用C++/Qt设计的一个S-DES加密系统","archived":false,"fork":false,"pushed_at":"2024-09-30T09:18:25.000Z","size":459,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T05:17:23.302Z","etag":null,"topics":["chongqing-university","cpp","qt","s-des"],"latest_commit_sha":null,"homepage":"","language":"C++","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/Leejiajia11.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}},"created_at":"2024-09-30T08:38:12.000Z","updated_at":"2024-10-08T03:50:19.000Z","dependencies_parsed_at":"2024-10-17T20:05:34.930Z","dependency_job_id":"b6ecd4aa-5009-4678-9848-1f55e1f4b6e9","html_url":"https://github.com/Leejiajia11/S-DES","commit_stats":null,"previous_names":["leejiajia11/s-des"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leejiajia11%2FS-DES","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leejiajia11%2FS-DES/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leejiajia11%2FS-DES/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leejiajia11%2FS-DES/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Leejiajia11","download_url":"https://codeload.github.com/Leejiajia11/S-DES/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246758369,"owners_count":20828919,"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","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":["chongqing-university","cpp","qt","s-des"],"created_at":"2024-10-27T13:04:16.283Z","updated_at":"2026-04-24T16:35:50.261Z","avatar_url":"https://github.com/Leejiajia11.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"1.项目综述：\n    本系统利用C++/QT语言，设计一个S-DES加密系统。根据S-DES算法编写和调试程序，提供GUI解密支持用户交互。输入可以是8bit的数据和10bit的密钥，输出是8bit的密文。\n    （重庆大学，信息安全导论第一次作业）\n    \n2 标准设定：\n  2.1 分组长度：8-bit2.2 密钥长度：10-bit\n\n  2.3 算法描述：\n    2.3.1 加密算法：C=IP^{-1}(f_{k_{2}}(SW(f_{k_{1}}(IP(P)))))\n    2.3.2 解密算法：P=IP^{-1}(f_{k_{1}}(SW(f_{k_{2}}(IP(C)))))\n    2.3.3 密钥扩展：k_{i}=P_{8}(Shift^{i}(P_{10}(K))),  (i=1,2)\n  2.4 转换装置设定：\n    2.4.1 密钥扩展置\n          P_{10}=(3,5,2,7,4,10,1,9,8,6)\n          P_{8}=(6,3,7,4,8,5,10,9)\n          Left_Shift^1=(2,3,4,5,1)\n          Left_Shift^2=(3,4,5,1,2)\n    2.4.2 初始置换盒IP=(2,6,3,1,4,8,5,7)\n    2.4.3 最终置换盒IP^{-1}=(4,1,3,5,7,2,8,6)\n    2.4.4 轮函数F\n         EPBox=(4,1,2,3,2,3,4,1)\n         SBox_{1}=[(1,0,3,2);(3,2,1,0);(0,2,1,3);(3,1,0,2)]\n         SBox_{2}=[(0,1,2,3);(2,3,1,0);(3,0,1,2);(2,1,0,3)]\n\t\t\t\t \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleejiajia11%2Fs-des","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleejiajia11%2Fs-des","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleejiajia11%2Fs-des/lists"}