{"id":21490320,"url":"https://github.com/rvelhote/cryptopals","last_synced_at":"2026-05-21T04:02:25.021Z","repository":{"id":66844667,"uuid":"63230997","full_name":"rvelhote/cryptopals","owner":"rvelhote","description":"Solving Cryptopals Challenges","archived":false,"fork":false,"pushed_at":"2016-08-23T22:44:48.000Z","size":120,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T20:33:57.709Z","etag":null,"topics":["cryptopals","cryptopals-challenges","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/rvelhote.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-13T08:59:17.000Z","updated_at":"2017-02-06T07:28:03.000Z","dependencies_parsed_at":"2023-03-13T20:29:09.030Z","dependency_job_id":null,"html_url":"https://github.com/rvelhote/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/rvelhote%2Fcryptopals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvelhote%2Fcryptopals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvelhote%2Fcryptopals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvelhote%2Fcryptopals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rvelhote","download_url":"https://codeload.github.com/rvelhote/cryptopals/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244022715,"owners_count":20385134,"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":["cryptopals","cryptopals-challenges","php"],"created_at":"2024-11-23T14:34:11.520Z","updated_at":"2026-05-21T04:02:24.946Z","avatar_url":"https://github.com/rvelhote.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Cryptopals Crypto Challenges**\n\nThese are my attempts to solve the Cryptopals challenges using PHP.\n\n**Crypto Challenge Set 1: Basics**\n\n- [x] Convert hex to base64\n- [x] Fixed XOR\n- [x] Single-byte XOR cipher\n- [x] Detect single-character XOR\n- [x] Implement repeating-key XOR\n- [x] Break repeating-key XOR\n- [x] AES in ECB mode\n- [x] Detect AES in ECB mode\n\n**Crypto Challenge Set 2: Block Crypto**\n\n- [x] Implement PKCS#7 padding\n- [x] Implement CBC mode\n- [x] An ECB/CBC detection oracle\n- [ ] Byte-at-a-time ECB decryption (Simple)\n- [ ] ECB cut-and-paste\n- [ ] Byte-at-a-time ECB decryption (Harder)\n- [ ] PKCS#7 padding validation\n- [ ] CBC bitflipping attacks","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvelhote%2Fcryptopals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frvelhote%2Fcryptopals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvelhote%2Fcryptopals/lists"}