{"id":27216096,"url":"https://github.com/arnaud-robin/aead-chacha20-poly1305","last_synced_at":"2025-04-10T04:46:59.983Z","repository":{"id":196994793,"uuid":"249985552","full_name":"arnaud-robin/aead-chacha20-poly1305","owner":"arnaud-robin","description":"Implementation of AEAD_CHACHA20_POLY1305 in c++","archived":false,"fork":false,"pushed_at":"2020-03-25T13:54:52.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-09-28T15:18:40.570Z","etag":null,"topics":["aead","chacha20-poly1305","cpp","cryptography"],"latest_commit_sha":null,"homepage":"","language":"C++","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/arnaud-robin.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-03-25T13:27:06.000Z","updated_at":"2023-09-28T15:18:41.653Z","dependencies_parsed_at":null,"dependency_job_id":"b178d762-a3fc-4eb6-9617-af9a9d041cbb","html_url":"https://github.com/arnaud-robin/aead-chacha20-poly1305","commit_stats":null,"previous_names":["arnaud-robin/aead-chacha20-poly1305"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnaud-robin%2Faead-chacha20-poly1305","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnaud-robin%2Faead-chacha20-poly1305/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnaud-robin%2Faead-chacha20-poly1305/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnaud-robin%2Faead-chacha20-poly1305/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arnaud-robin","download_url":"https://codeload.github.com/arnaud-robin/aead-chacha20-poly1305/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161238,"owners_count":21057552,"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":["aead","chacha20-poly1305","cpp","cryptography"],"created_at":"2025-04-10T04:46:59.023Z","updated_at":"2025-04-10T04:46:59.923Z","avatar_url":"https://github.com/arnaud-robin.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AEAD_CHACHA20_POLY1305\n\nThis is an implementation of AEAD_CHACHA20_POLY1305, following RFC8439 protocol. This project was made for a computer science course on cryptography, and should not be considered as secure. It was not designed to be robust against side-channel attacks.\n\n## Installation\n\nRun `make` command to build the files.\n\n## Test and usage \n\nYou can launch the program using the following command:\n```bash\n./chacha20 yourkey.key \u003c input\n```\nThe key must be in the format :\n```\nconstant:iv:key:aad\n```\nwith values in hexadecimal. Constant should 32 bits in length, iv 64 bits, key 256 bits, and aad should be at most 2^64 -1 octets. An example from RFC8439 test vector is provided for extra clarity. \n\nYou can test the software using this command, and you should get the corresponding output:\n```console\n➜ ./chacha20 testvector.key \u003c inputvector.txt\nCipher :\nd3 1a 8d 34 64 8e 60 db 7b 86 af bc 53 ef 7e c2 \na4 ad ed 51 29 6e 08 fe a9 e2 b5 a7 36 ee 62 d6 \n3d be a4 5e 8c a9 67 12 82 fa fb 69 da 92 72 8b \n1a 71 de 0a 9e 06 0b 29 05 d6 a5 b6 7e cd 3b 36 \n92 dd bd 7f 2d 77 8b 8c 98 03 ae e3 28 09 1b 58 \nfa b3 24 e4 fa d6 75 94 55 85 80 8b 48 31 d7 bc \n3f f4 de f0 8e 4b 7a 9d e5 76 d2 65 86 ce c6 4b \n61 16 \nTag :\n1a e1 0b 59 4f 09 e2 6a 7e 90 2e cb d0 60 06 91\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnaud-robin%2Faead-chacha20-poly1305","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnaud-robin%2Faead-chacha20-poly1305","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnaud-robin%2Faead-chacha20-poly1305/lists"}