{"id":37168011,"url":"https://github.com/the-code-genin/ges-cli","last_synced_at":"2026-01-14T19:52:07.974Z","repository":{"id":117286734,"uuid":"550308070","full_name":"the-code-genin/ges-cli","owner":"the-code-genin","description":"A CLI software that encrypts and decrypts data using a custom encryption algorithm based on the Feistel cipher structure.","archived":false,"fork":false,"pushed_at":"2024-12-09T13:02:28.000Z","size":60,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-02T11:59:11.829Z","etag":null,"topics":["cli","cryptography","encryption","feistel-cipher","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/the-code-genin.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-10-12T14:39:36.000Z","updated_at":"2024-12-09T13:02:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e7601b6-1d5d-4952-a9c3-07a13619ed47","html_url":"https://github.com/the-code-genin/ges-cli","commit_stats":null,"previous_names":["the-code-genin/cryptware"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/the-code-genin/ges-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-code-genin%2Fges-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-code-genin%2Fges-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-code-genin%2Fges-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-code-genin%2Fges-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/the-code-genin","download_url":"https://codeload.github.com/the-code-genin/ges-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-code-genin%2Fges-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28433351,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"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":["cli","cryptography","encryption","feistel-cipher","golang"],"created_at":"2026-01-14T19:52:07.426Z","updated_at":"2026-01-14T19:52:07.944Z","avatar_url":"https://github.com/the-code-genin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GES CLI\n\nThe software utilizes a simple block cipher encryption algorithm to encrypt and decrypt data. It uses a home-grown encryption algorithm called **GES** based off of the feistel cipher structure.\n\nDeveloped and maintained by [Mohammed Adekunle](https://mohammedadekunle.com.ng)\n\n## GES Algorithm\n\nBased off of the feistel cipher structure, the block size of the algorithm is 128 bits with a 128 bit key. It utilizes a parity drop for every 8th-bit to reduce the key size to 112 bits, followed by a shift function which condenses the key to 96 bits. Then DES S-Box substitution is done to generate unique 64-bit round keys.\n\n## Installation\n\nYou can compile the binary manually using the `go build` command or you can compile via the build system using the `make` tool.\n\n### Via Go Install\nTo install locally via `go install`. Run the command below:\n\n```shell\ngo install github.com/the-code-genin/ges-cli/cmd/ges@latest\nges --version\n```\n\n### Via Go Build\n\nTo compile via `go build`, you will require at least `go 1.22` installed. Then follow the steps below:\n\n- Run `cd cmd/ges` to change your terminal path\n- Run `go build .` to generate a build of the `ges cli` for your operating system architecture\n- Run `./ges` to get started\n\n### Via make\n\nTo compile via `make`, you will require a recent version of the `make` utility installed. Then follow the steps below:\n\n- Run `make build` to trigger an automated build of the project\n- Run `cd build/bin`to change your terminal path to the build directory\n- Run `./ges` to get started\n\n## Usage\n\nBefore you can get started with encryption or decryption you need to generate an cipher key. Cipher keys for the `GES` algorithm need to be 128-bits large. An utiliy is provided for this in the `ges` binary called `keygen`.\n\nTo encrypt data, an `encrypt` utility is provided in the `ges` binary which can either encrypt a provided input file or encrypt data directly from the standard input.\n\nDecryption is similar with with the `decrypt` utility in the `ges` binary which can also decrypt a provided input file or decrypt directly from the standard input.\n\n***Special Notes:***\n\n- Like any other cipher, attempting to decrypt a cipher text with the wrong cipher key will not give the expected plain text. But neverthelesss, a plain text will be generated.\n- The GES algorithm **should not** be used in a production environment as it does not meet any international standards for encryption (It is a proof of concept).\n\n## License\n\nThis project is licensed under the [MIT license](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-code-genin%2Fges-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-code-genin%2Fges-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-code-genin%2Fges-cli/lists"}