{"id":16390109,"url":"https://github.com/r2dev2/encrypt","last_synced_at":"2026-06-12T20:31:27.898Z","repository":{"id":118654119,"uuid":"595483569","full_name":"r2dev2/Encrypt","owner":"r2dev2","description":"Simple xor encryption tool i made a while ago lol","archived":false,"fork":false,"pushed_at":"2023-01-31T07:03:50.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T18:50:11.146Z","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":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/r2dev2.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":"2023-01-31T07:03:46.000Z","updated_at":"2023-01-31T07:03:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"173cd5ec-c930-442d-8825-3c1c160e4894","html_url":"https://github.com/r2dev2/Encrypt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/r2dev2/Encrypt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r2dev2%2FEncrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r2dev2%2FEncrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r2dev2%2FEncrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r2dev2%2FEncrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r2dev2","download_url":"https://codeload.github.com/r2dev2/Encrypt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r2dev2%2FEncrypt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34262155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"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":[],"created_at":"2024-10-11T04:34:57.967Z","updated_at":"2026-06-12T20:31:27.848Z","avatar_url":"https://github.com/r2dev2.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Encrypt\n\nA simple file encryption tool utilizing xor.\n\n## Installation\n\n```bash\ngh repo clone r2dev2/Encrypt\ncd Encrypt\ngcc -o encrypt encrypt.c\n```\n\nand then copy encrypt binary to a folder which is in your path (eg. `~/.local/bin` or `/usr/bin`)\n\n## Usage\n\n### Encrypt a file\n\n```bash\nencrypt -i filetoencrypt -o encryptedfile # get input from filetoencrypt\nencrypt -o encryptedfile # get input from stdin\nencrypt # get input from stdin and output to stdout\n```\n\n### Decrypt a file\n\n```bash\nencrypt -i filetodecrypt -o decryptedfile # get input from filetodecrypt\nencrypt -o decryptedfile # get input from stdin\nencrypt # get input from stdin and output to stdout\n```\n\n## Security\n\nYea this is literally just a simple xor with your password and the bytes of the file. If your file has a predictable sequence of bytes (eg. a pdf or a jpg), it is ridiculously easy to crack ur password (unless ur password is like 50 characters long).\n\nIf your file is all raw data that is all unpredictable (eg. a message or an important number), it would be fairly hard to crack the message. However, DO NOT (and I repeat DO NOT) use this for actually important communications. Please just use gpg.\n\n### Use Case\n\nSay u wanna send a sussy file to your friend on discord. You can host the file on something like transfer.sh and then send base64 encoded link with `echo link | encrypt | base64`.\n\n## License\n\nDo WTF u want lol i made this when i was in 10th grade to send [anime girls holding programmer books](https://github.com/cat-milk/Anime-Girls-Holding-Programming-Books) to the bois.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr2dev2%2Fencrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr2dev2%2Fencrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr2dev2%2Fencrypt/lists"}