{"id":43102642,"url":"https://github.com/arapelle/arba-cryp","last_synced_at":"2026-01-31T17:42:02.210Z","repository":{"id":116276428,"uuid":"292588108","full_name":"arapelle/arba-cryp","owner":"arapelle","description":"Small cryptographic C++ library.","archived":false,"fork":false,"pushed_at":"2025-11-15T13:23:17.000Z","size":65,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-15T15:24:12.277Z","etag":null,"topics":["cpp","cpp-library","cpp20","cpp20-library","cryptography"],"latest_commit_sha":null,"homepage":"","language":"C++","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/arapelle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-09-03T14:08:00.000Z","updated_at":"2025-05-14T09:22:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"4c094fd8-9997-4d18-ad80-b909ca118db6","html_url":"https://github.com/arapelle/arba-cryp","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/arapelle/arba-cryp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arapelle%2Farba-cryp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arapelle%2Farba-cryp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arapelle%2Farba-cryp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arapelle%2Farba-cryp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arapelle","download_url":"https://codeload.github.com/arapelle/arba-cryp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arapelle%2Farba-cryp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28948592,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T14:26:55.697Z","status":"ssl_error","status_checked_at":"2026-01-31T14:26:52.545Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cpp","cpp-library","cpp20","cpp20-library","cryptography"],"created_at":"2026-01-31T17:42:01.604Z","updated_at":"2026-01-31T17:42:02.203Z","avatar_url":"https://github.com/arapelle.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Concept\n\nA C++ library providing cryptographic algorithms.\n\n# Install\n\n## Requirements\n\nBinaries:\n- A C++20 compiler (ex: g++-14)\n- CMake 3.26 or later\n\nLibraries:\n- [TBB](https://github.com/oneapi-src/oneTBB) 2018 or later (only if you want to use parallel execution)\n\nTesting Libraries (optional):\n- [Google Test](https://github.com/google/googletest) 1.14 or later (optional)\n\n## Clone\n\n```\ngit clone https://github.com/arapelle/arba-cryp\n```\n\n## Use with `conan`\n\nCreate the conan package.\n```\nconan create . --build=missing -c\n```\nAdd a requirement in your conanfile project file.\n```python\n    def requirements(self):\n        self.requires(\"arba-cryp/0.5.0\")\n```\n\n## Quick Install \n\nThere is a cmake script at the root of the project which builds the library in *Release* mode and install it (default options are used).\n\n```\ncd /path/to/arba-cryp\ncmake -P cmake/scripts/quick_install.cmake\n```\n\nUse the following to quickly install a different mode.\n\n```\ncmake -P cmake/scripts/quick_install.cmake -- TESTS BUILD Debug DIR /tmp/local\n```\n\n## Uninstall\n\nThere is a uninstall cmake script created during installation. You can use it to uninstall properly this library.\n\n```\ncd /path/to/installed-arba-cryp/\ncmake -P uninstall.cmake\n```\n\n# How to use\n\n## Example - To measure time to encrypt and decrypt\n\n```c++\n#include \u003carba/cryp/symcrypt.hpp\u003e\n\n#include \u003carba/rand/rand.hpp\u003e\n\n#include \u003calgorithm\u003e\n#include \u003cchrono\u003e\n#include \u003ciostream\u003e\n\nusing Duration = std::chrono::duration\u003cfloat, ::std::chrono::milliseconds::period\u003e;\nusing Clock = std::chrono::steady_clock;\nusing Time_point = std::chrono::time_point\u003cClock\u003e;\n\nint main()\n{\n    uuid::uuid key(\"37c525c7-08f6-4cd1-8aff-ea3e38eaec87\");\n    cryp::symcrypt symcrypt(key);\n    std::vector\u003cuint8_t\u003e data;\n    std::size_t data_size = 1024 * 1024 * 1024; // 1Gb\n    data.reserve(data_size + 9);\n    data.resize(data_size);\n\n    //-----\n\n    Time_point start_time_point;\n    Duration duration;\n\n    std::cout \u003c\u003c \"Chrono '\" \u003c\u003c \"generate data\" \u003c\u003c \"' start!\" \u003c\u003c std::endl;\n    start_time_point = Clock::now();\n    std::ranges::generate(data, []() { return rand::rand_u8(); });\n    std::vector init_data = data;\n    duration = std::chrono::duration_cast\u003cDuration\u003e(Clock::now() - start_time_point);\n    std::cout \u003c\u003c \"Chrono '\" \u003c\u003c \"generate data\" \u003c\u003c \"' = \" \u003c\u003c duration.count() \u003c\u003c \"ms\" \u003c\u003c std::endl;\n\n    std::cout \u003c\u003c \"Chrono '\" \u003c\u003c \"encrypt\" \u003c\u003c \"' start!\" \u003c\u003c std::endl;\n    start_time_point = Clock::now();\n    symcrypt.encrypt(data);\n    duration = std::chrono::duration_cast\u003cDuration\u003e(Clock::now() - start_time_point);\n    std::cout \u003c\u003c \"Chrono '\" \u003c\u003c \"encrypt\" \u003c\u003c \"' = \" \u003c\u003c duration.count() \u003c\u003c \"ms\" \u003c\u003c std::endl;\n    std::cout \u003c\u003c \"data == init_data: \" \u003c\u003c std::boolalpha \u003c\u003c (data == init_data) \u003c\u003c std::endl;\n\n    std::cout \u003c\u003c \"Chrono '\" \u003c\u003c \"decrypt\" \u003c\u003c \"' start!\" \u003c\u003c std::endl;\n    start_time_point = Clock::now();\n    symcrypt.decrypt(data);\n    duration = std::chrono::duration_cast\u003cDuration\u003e(Clock::now() - start_time_point);\n    std::cout \u003c\u003c \"Chrono '\" \u003c\u003c \"decrypt\" \u003c\u003c \"' = \" \u003c\u003c duration.count() \u003c\u003c \"ms\" \u003c\u003c std::endl;\n    std::cout \u003c\u003c \"data == init_data: \" \u003c\u003c std::boolalpha \u003c\u003c (data == init_data) \u003c\u003c std::endl;\n\n    return EXIT_SUCCESS;\n}\n```\n\n# License\n\n[MIT License](./LICENSE.md) © arba-cryp\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farapelle%2Farba-cryp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farapelle%2Farba-cryp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farapelle%2Farba-cryp/lists"}