{"id":45520890,"url":"https://github.com/penguingovernor/goxor","last_synced_at":"2026-02-22T22:55:10.529Z","repository":{"id":57562486,"uuid":"103734430","full_name":"penguingovernor/goxor","owner":"penguingovernor","description":"GoXor is a command line tool that encrypts and decrypts data.  ","archived":false,"fork":false,"pushed_at":"2018-12-15T01:45:03.000Z","size":40,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T02:06:04.229Z","etag":null,"topics":["cli","command-line-tool","decryption","encryption","go","golang"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/penguingovernor.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}},"created_at":"2017-09-16T07:34:38.000Z","updated_at":"2020-06-05T12:47:52.000Z","dependencies_parsed_at":"2022-09-16T19:51:22.458Z","dependency_job_id":null,"html_url":"https://github.com/penguingovernor/goxor","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/penguingovernor/goxor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penguingovernor%2Fgoxor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penguingovernor%2Fgoxor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penguingovernor%2Fgoxor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penguingovernor%2Fgoxor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/penguingovernor","download_url":"https://codeload.github.com/penguingovernor/goxor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penguingovernor%2Fgoxor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29730142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T20:09:16.275Z","status":"ssl_error","status_checked_at":"2026-02-22T20:09:13.750Z","response_time":110,"last_error":"SSL_read: 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":["cli","command-line-tool","decryption","encryption","go","golang"],"created_at":"2026-02-22T22:55:09.651Z","updated_at":"2026-02-22T22:55:10.521Z","avatar_url":"https://github.com/penguingovernor.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goxor #\n[![Go Report Card](https://goreportcard.com/badge/github.com/PenguinGovernor/goxor)](https://goreportcard.com/report/github.com/PenguinGovernor/goxor)\n\nGoXor is an encryption method written in the [Go programming language](https://golang.org/), and is based on a [xor cipher](https://en.wikipedia.org/wiki/XOR_cipher) in conjunction with a [one-time pad](https://en.wikipedia.org/wiki/One-time_pad). \n\n### Download and Install \n1. Install and configure Go for you operating system. [See Here](https://golang.org/doc/install)\n2. Once Go is installed and configured, run this command to install the `goxor` tool \n\n```shell\ngo get github.com/penguingovernor/goxor\n``` \n### Testing \nTo ensure that installation went smoothly run the `go test` tool \n```shell\ngo test -v github.com/penguingovernor/goxor/xor\n```\n### Documentation \nAfter installing, you can use `goxor help` to get documentation:\n```shell\ngoxor help\n```\n\n### Running goxor\n`goxor` has two sub-commands: encrypt and decrypt.\n\nExample:\n```shell\n# Encrypts input hello.txt using a one time pad as the key, 'goxor' as the signature, outputs out.xor and out.xor.key\ngoxor encrypt -i hello.txt\n# Decrypts input out.xor using out.xor.key as the key, this will output to stdout\ngoxor decrypt -i out.xor -k out.xor.key\n```\n\nThe `goxor encrypt` command can encrypt files. It supports the following flags:\n\n* `--input=` or `-i`: The file to be encrypted. If the file cannot be found then the input is treated as a string. If omitted `goxor encrypt` will read from stdin\n\n* `--output=` or `-o`: The desired file name to output the encrypted data to. Omitting this flag mode causes `goxor encrypt` to output to out.xor. If the string 'stdout' is passed to `goxor encrypt --output` then the encrypted data is written to stdout\n\n* `--key_out` or `-K`: The desired file name to output the key to. Omitting this flag causes `goxor encrypt` to output to out.xor.key. If the string 'stdout' is passed to `goxor encrypt --key_out` then the key is written to stdout\n\n* `--signature` or `-s`: The file or string to use as the encryption signature. If omitted the string `goxor` is used as the signature. If stdin is passed then the input from stdin is used as the signature.\n\n* `--key` or `-k`: The file or string to use as the encryption key. If omitted a one time pad is used as the key. If stdin is passed then the input from stdin is used as the key.\n\nThe `goxor decrypt` command can decrypt files. It supports the following flags:\n\n* `--input=` or `-i`: The file to be decrypted. \n\n* `--output=` or `-o`: The desired file name to output the decrypted data to. Omitting this flag mode causes `goxor decrypt` to output to stdout.\n\n* `--key` or `-k`: The file to use as the decryption key. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpenguingovernor%2Fgoxor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpenguingovernor%2Fgoxor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpenguingovernor%2Fgoxor/lists"}