{"id":20475481,"url":"https://github.com/bemxio/binary-vigenere","last_synced_at":"2025-10-15T19:19:44.523Z","repository":{"id":104227949,"uuid":"564839795","full_name":"bemxio/binary-vigenere","owner":"bemxio","description":"A C library for encrypting/decrypting data in a binary Vigenère cipher","archived":false,"fork":false,"pushed_at":"2024-09-10T07:32:49.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T14:31:49.568Z","etag":null,"topics":["binary-vignere-cipher","bytearray","c","library","unit-testing","vigenere","vigenere-cipher"],"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/bemxio.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":"2022-11-11T16:13:21.000Z","updated_at":"2024-09-10T07:32:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad57e7d3-e783-4e1f-8f20-8a66e60fa76e","html_url":"https://github.com/bemxio/binary-vigenere","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bemxio/binary-vigenere","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bemxio%2Fbinary-vigenere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bemxio%2Fbinary-vigenere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bemxio%2Fbinary-vigenere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bemxio%2Fbinary-vigenere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bemxio","download_url":"https://codeload.github.com/bemxio/binary-vigenere/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bemxio%2Fbinary-vigenere/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279105657,"owners_count":26104815,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["binary-vignere-cipher","bytearray","c","library","unit-testing","vigenere","vigenere-cipher"],"created_at":"2024-11-15T15:16:08.886Z","updated_at":"2025-10-15T19:19:44.498Z","avatar_url":"https://github.com/bemxio.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bigenere\nA simple C library for encrypting and decrypting data in a custom [Vigenère cipher](https://en.wikipedia.org/wiki/Vigen%C3%A8re_cipher), suited for raw bytes.\n\n## Building\nTo include the library in your project, simply include the `src/bingenere.h` header into your C code and add the `src/bingenere.c` file when compiling together with your code. With GCC and a simple script, it would look something like this: `gcc /path/to/your_code.c /path/to/bingenere.c -o /path/to/executable`.\n\nTo build the examples in `src/examples/`, run:\n\n```sh\nmake examples\n```\n\nThat will generate the executables in the `build/` directory.\n\n## Usage\n### Encrypting\n```c\nuint8_t* bingenere_encrypt(uint8_t* data, uint8_t* key);\n```\nEncrypt a data byte array (an array of unsigned chars) with a key (also a byte array) using the binary Vigenère cipher.\n\n**Arguments:**\n- `uint8_t* data`: an array of unsigned chars, containing the data for encryption.\n- `uint8_t* key`: an array of unsigned chars, containing the key for encryption.\n\n**Returns:** an array of unsigned chars, containing the encrypted bytes.\n\n### Decrypting\n```c\nuint8_t* bingenere_decrypt(uint8_t* data, uint8_t* key);\n```\nDecrypt a data byte array (an array of unsigned chars) with a key (also a byte array) using the binary Vigenère cipher.\n\n**Arguments:**\n- `uint8_t* data`: an array of unsigned chars, containing the data for decryption.\n- `uint8_t* key`: an array of unsigned chars, containing the key for decryption.\n\n**Returns:** an array of unsigned chars, containing the decrypted bytes.\n\n## Testing\nTo test the library, simply run:\n\n```sh\nmake tests\n```\n\nThat will compile and run all of the implemented tests.\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbemxio%2Fbinary-vigenere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbemxio%2Fbinary-vigenere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbemxio%2Fbinary-vigenere/lists"}