{"id":21407300,"url":"https://github.com/mkst/cryptopals","last_synced_at":"2026-01-03T00:44:56.487Z","repository":{"id":114862493,"uuid":"68331858","full_name":"mkst/cryptopals","owner":"mkst","description":"my attempt to solve the cryptopals challenges","archived":false,"fork":false,"pushed_at":"2016-10-02T09:06:18.000Z","size":100,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-23T04:13:17.264Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mkst.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":"2016-09-15T21:14:06.000Z","updated_at":"2016-09-15T21:26:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b9a978c-3399-4651-b1fc-a5f7479bd7f8","html_url":"https://github.com/mkst/cryptopals","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/mkst%2Fcryptopals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkst%2Fcryptopals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkst%2Fcryptopals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkst%2Fcryptopals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkst","download_url":"https://codeload.github.com/mkst/cryptopals/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243902321,"owners_count":20366262,"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":[],"created_at":"2024-11-22T16:46:02.119Z","updated_at":"2026-01-03T00:44:56.462Z","avatar_url":"https://github.com/mkst.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cryptopals\nMy attempt to solve the cryptopals challenges...\n\n**Set 1: Basics**\n- [x] 01 Convert hex to base64\n- [x] 02 Fixed XOR\n- [x] 03 Single-byte XOR cipher\n- [x] 04 Detect single-character XOR\n- [x] 05 Implement repeating-key XOR\n- [x] 06 Break repeating-key XOR\n- [x] 07 AES in ECB mode\n- [x] 08 Detect AES in ECB mode\n\n**Set 2: Block crypto**\n- [x] 09 Implement PKCS#7 padding\n- [x] 10 Implement CBC mode\n- [x] 11 An ECB/CBC detection oracle\n- [x] 12 Byte-at-a-time ECB decryption (Simple)\n- [x] 13 ECB cut-and-paste\n- [x] 14 Byte-at-a-time ECB decryption (Harder)\n- [x] 15 PKCS#7 padding validation\n- [x] 16 CBC bitflipping attacks\n\n**Set 3: Block \u0026 stream crypto**\n- [x] 17 The CBC padding oracle\n- [x] 18 Implement CTR, the stream cipher mode\n- [ ] 19 Break fixed-nonce CTR mode using substitutions\n- [x] 20 Break fixed-nonce CTR statistically\n- [x] 21 Implement the MT19937 Mersenne Twister RNG\n- [x] 22 Crack an MT19937 seed\n- [ ] 23 Clone an MT19937 RNG from its output\n- [ ] 24 Create the MT19937 stream cipher and break it\n\n---\n**Extra info**\nDependencies:\n - libcrypto++ (https://www.cryptopp.com/)\n - compiler with c++11 support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkst%2Fcryptopals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkst%2Fcryptopals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkst%2Fcryptopals/lists"}