{"id":19503070,"url":"https://github.com/brandonki/rsa-c","last_synced_at":"2025-08-17T18:38:08.776Z","repository":{"id":108745520,"uuid":"343497444","full_name":"BrandonKi/rsa-c","owner":"BrandonKi","description":"RSA encryption implementation in C (WIP)","archived":false,"fork":false,"pushed_at":"2021-03-02T03:01:23.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-08T10:35:41.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/BrandonKi.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":"2021-03-01T17:17:53.000Z","updated_at":"2021-03-02T03:01:25.000Z","dependencies_parsed_at":"2023-04-23T12:31:28.738Z","dependency_job_id":null,"html_url":"https://github.com/BrandonKi/rsa-c","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/BrandonKi%2Frsa-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrandonKi%2Frsa-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrandonKi%2Frsa-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrandonKi%2Frsa-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrandonKi","download_url":"https://codeload.github.com/BrandonKi/rsa-c/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240754296,"owners_count":19852186,"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":[],"created_at":"2024-11-10T22:19:28.991Z","updated_at":"2025-02-25T21:43:32.508Z","avatar_url":"https://github.com/BrandonKi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# __RSA encryption implementation in C (WIP)__\n\nAt the moment each character is encrypted/decrypted individually and small keys are used.\nThis means that the output is in a predictable format and can be reversed given enough time and resources.\nThis is meant to be a lightweight and fast way to encrypt data. It should not be used where security is extremely important.\n\nrsa.h can be used as a header only library. rsa.c is just a sample.\n\n    rsa.c usage: rsa [e public key] | [d private key] | [g] | [s sizeof_stdin_buffer]\n\n## __example usage:__\n\n### __generate the keys with the `g` option__\n\n```./rsa g```\n\n### __enter the text to be encryped through stdin and use the `e`__\n\n```echo \"text\" | ./rsa e 3233 17```\n\n### __enter the encryped text through stdin to be decrypted and use the `d`__\n\n```echo \"884 1313 1542 884\" | ./rsa d 3233 413```\n\n### __the `s` option can be used to specify the max size of the input to avoid overflow or wasted space__\n@NOTE make sure there are at least 2 extra bytes given to the size option\n\n```echo \"test\" | ./rsa e 3233 413 s 10```\n\n\n### TODO\n\n- put two characters into each encrypted \"block\"\n- output raw binary data instead of outputting the value as an integer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandonki%2Frsa-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrandonki%2Frsa-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandonki%2Frsa-c/lists"}