{"id":16767455,"url":"https://github.com/mfridman/cryptopals","last_synced_at":"2025-03-16T13:13:45.026Z","repository":{"id":96754033,"uuid":"106054105","full_name":"mfridman/cryptopals","owner":"mfridman","description":"My solutions for http://cryptopals.com, written entirely in Go, sprinkled with concurrency","archived":false,"fork":false,"pushed_at":"2017-10-11T03:30:47.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T03:40:45.015Z","etag":null,"topics":["cryptography","cryptopals","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mfridman.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":"2017-10-06T22:06:59.000Z","updated_at":"2017-10-11T03:34:03.000Z","dependencies_parsed_at":"2023-04-01T05:35:52.289Z","dependency_job_id":null,"html_url":"https://github.com/mfridman/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/mfridman%2Fcryptopals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfridman%2Fcryptopals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfridman%2Fcryptopals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfridman%2Fcryptopals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mfridman","download_url":"https://codeload.github.com/mfridman/cryptopals/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243871912,"owners_count":20361380,"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","cryptopals","go","golang"],"created_at":"2024-10-13T06:09:12.247Z","updated_at":"2025-03-16T13:13:45.001Z","avatar_url":"https://github.com/mfridman.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Cryptopals](https://cryptopals.com/) [![Report Card](https://goreportcard.com/badge/github.com/mfridman/cryptopals)](https://goreportcard.com/report/github.com/mfridman/cryptopals)\n\n\u003e crypto challenges made fun\n\nChipping away at em', work in progress...\n\nIndeed there is overlap between the challenges and one could build a standard lib. But, instead, I wanted each challenge to be its own contained unit.\n\n## Usage\n\n`go get -u github.com/mfridman/cryptopals/...`\n```bash\n# assuming you are in your GOPATH\ncd src/github.com/mfridman/cryptopals/set-1/chal-6\ngo run main.go\n```\n\n## Set 1: Basics\n\n- [x] **[solution](set-1/chal-1)** ........ [Convert hex to base64](https://cryptopals.com/sets/1/challenges/1)\n- [x] **[solution](set-1/chal-2)** ........ [Fixed XOR](https://cryptopals.com/sets/1/challenges/2)\n- [x] **[solution](set-1/chal-3)** ........ [Single-byte XOR cipher](https://cryptopals.com/sets/1/challenges/3)\n- [x] **[solution](set-1/chal-4)** ........ [Detect single-character XOR](https://cryptopals.com/sets/1/challenges/4)\n- [x] **[solution](set-1/chal-5)** ........ [Implement repeating-key XOR](https://cryptopals.com/sets/1/challenges/5)\n- [x] **[solution](set-1/chal-6)** ........ [Break repeating-key XOR](https://cryptopals.com/sets/1/challenges/6)\n- [ ] [AES in ECB mode](https://cryptopals.com/sets/1/challenges/7)\n- [ ] [Detect AES in ECB mode](https://cryptopals.com/sets/1/challenges/8)\n\n\n# Misc\n\n```go\nfunc factorial(n uint64) uint64 {\n    if n \u003e 0 {\n        result := n * factorial(n-1)\n        return result\n    }\n    return 1\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfridman%2Fcryptopals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfridman%2Fcryptopals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfridman%2Fcryptopals/lists"}