{"id":21429579,"url":"https://github.com/mayank-02/simplified-des","last_synced_at":"2025-03-16T21:43:48.188Z","repository":{"id":188402711,"uuid":"319606682","full_name":"mayank-02/simplified-des","owner":"mayank-02","description":"Implementation of a simplified version of the DES algorithm","archived":false,"fork":false,"pushed_at":"2020-12-08T11:10:22.000Z","size":291,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T08:17:36.745Z","etag":null,"topics":["cryptography","data-encryption-standard","educational","python","simplified-data-encryption-standard","simplified-des"],"latest_commit_sha":null,"homepage":"","language":"Python","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/mayank-02.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}},"created_at":"2020-12-08T10:40:43.000Z","updated_at":"2023-05-16T03:28:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"55893955-f806-4871-af10-b5068cdd6603","html_url":"https://github.com/mayank-02/simplified-des","commit_stats":null,"previous_names":["mayank-02/simplified-des"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayank-02%2Fsimplified-des","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayank-02%2Fsimplified-des/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayank-02%2Fsimplified-des/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayank-02%2Fsimplified-des/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mayank-02","download_url":"https://codeload.github.com/mayank-02/simplified-des/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243940062,"owners_count":20372044,"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":["cryptography","data-encryption-standard","educational","python","simplified-data-encryption-standard","simplified-des"],"created_at":"2024-11-22T22:18:22.331Z","updated_at":"2025-03-16T21:43:48.169Z","avatar_url":"https://github.com/mayank-02.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simplified DES\n\nSimplified DES (S-DES) is an educational tool designed to help students learn the structure of DES using smaller blocks and keys.\n\n- Feistal block cipher\n- Plaintext: 8 bit\n- Key: 10 bit\n- Ciphertext: 8 bit\n\n\u003cimg style=\"text-align:center\" src=\"images/sdes-structure.png\" alt=\"S-DES Structure\"/\u003e\n\n## Usage\n\nUse the `SimplifiedDES` class in your program as follows.\n\nFor encryption:\n\n```python\nfrom sdes import SimplifiedDES\n\nplaintext = 0b10101010\nkey = 0b1110001110\nciphertext = SimplifiedDES(key).encrypt(plaintext) # 0b11001010\n```\n\nFor decryption:\n\n```python\nfrom sdes import SimplifiedDES\n\nciphertext = 0b11001010\nkey = 0b1110001110\nplaintext = SimplifiedDES(key).decrypt(ciphertext) # 0b10101010\n```\n\n## References\n\n- Check out `theory.pdf` for more information and worked out examples.\n- [Simplified DES as an excel workbook](http://www.postcogito.org/Kiko/SimplifiedDESWorksheet.html)\n- [Data Encryption Standard](https://en.wikipedia.org/wiki/Data_Encryption_Standard)\n\n## Authors\n\n[Mayank Jain](https://github.com/mayank-02)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayank-02%2Fsimplified-des","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmayank-02%2Fsimplified-des","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayank-02%2Fsimplified-des/lists"}