{"id":23300530,"url":"https://github.com/joshua-riek/des","last_synced_at":"2025-04-06T21:34:04.141Z","repository":{"id":62214028,"uuid":"556956124","full_name":"Joshua-Riek/DES","owner":"Joshua-Riek","description":"My implementation of the Data Encryption Standard (DES)!","archived":false,"fork":false,"pushed_at":"2022-10-29T23:50:54.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T06:14:16.199Z","etag":null,"topics":["algorithm","algorithms","decryption","des","encryption","python","security"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Joshua-Riek.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}},"created_at":"2022-10-24T20:43:07.000Z","updated_at":"2022-10-24T20:47:03.000Z","dependencies_parsed_at":"2023-01-20T15:15:28.854Z","dependency_job_id":null,"html_url":"https://github.com/Joshua-Riek/DES","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joshua-Riek%2FDES","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joshua-Riek%2FDES/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joshua-Riek%2FDES/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joshua-Riek%2FDES/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Joshua-Riek","download_url":"https://codeload.github.com/Joshua-Riek/DES/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247555129,"owners_count":20957713,"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":["algorithm","algorithms","decryption","des","encryption","python","security"],"created_at":"2024-12-20T09:16:54.933Z","updated_at":"2025-04-06T21:34:04.122Z","avatar_url":"https://github.com/Joshua-Riek.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## DES\n\nThis is my implementation of the Data Encryption Standard (DES), a symmetric-key block cipher published by the National Institute of Standards and Technology (NIST).\n\nEncryption: `C = E(K1, P)`\n\nDecryption: `P = D(K1, C)`\n\n```Python\n# A simple example of encrypting a string with DES!\n\nkey = 0x133457799bbcdff1\n\ndes = DES(key)\ncyphertext = des.encrypt('Hello World!', key)\nplaintext = des.decrypt(cyphertext, key) \n```\n\n## Triple DES\nTriple DES (3DES or TDES) is a symmetric-key block cipher, which applies the DES cipher algorithm three times to each data block.\n\nEncryption: `C = E(K3, D(k2, E(K1, P)))`\n\nDecryption: `P = D(K1, E(K2, D(K3, C)))`\n\n```Python\n# A simple example of encrypting bytes with Triple DES!\n\nkey1 = 0x133457799bbcdff1\nkey2 = 0x0123456789abcdef\nkey3 = 0xfedcba9876543210\n\ndes = TripleDES(key1, key2, key3)\ncyphertext = des.encrypt(b'Hello World!')\nplaintext = des.decrypt(cyphertext)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshua-riek%2Fdes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshua-riek%2Fdes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshua-riek%2Fdes/lists"}