{"id":39186351,"url":"https://github.com/keogami/crypt","last_synced_at":"2026-01-17T22:39:26.582Z","repository":{"id":57643075,"uuid":"417626611","full_name":"keogami/crypt","owner":"keogami","description":"A simple utility to encrypt \u0026 decrypt files with AES-256 with passphrases","archived":false,"fork":false,"pushed_at":"2022-07-23T09:45:08.000Z","size":2714,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T00:37:48.557Z","etag":null,"topics":["cli","cryptography","encryption-decryption","go","privacy","tool"],"latest_commit_sha":null,"homepage":"","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/keogami.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":"2021-10-15T20:29:34.000Z","updated_at":"2021-12-28T18:38:18.000Z","dependencies_parsed_at":"2022-09-26T20:30:32.850Z","dependency_job_id":null,"html_url":"https://github.com/keogami/crypt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/keogami/crypt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keogami%2Fcrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keogami%2Fcrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keogami%2Fcrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keogami%2Fcrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keogami","download_url":"https://codeload.github.com/keogami/crypt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keogami%2Fcrypt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28521165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T22:11:28.393Z","status":"ssl_error","status_checked_at":"2026-01-17T22:11:27.841Z","response_time":85,"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-decryption","go","privacy","tool"],"created_at":"2026-01-17T22:39:26.522Z","updated_at":"2026-01-17T22:39:26.577Z","avatar_url":"https://github.com/keogami.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crypt\nA simple utility to encrypt \u0026amp; decrypt files with AES-256 with passphrases\n\n## Features\n- Encrypt files using a single passphrase\n- Decryption requires the passphrase \u0026amp; a randomly-generated cryptographically-strong salt\n- Easy to wrap my two brain cells around\n\n## Installation\nFirst install `go` from [https://go.dev/dl](https://go.dev/dl) then run the following commands:\n```bash\ngo install github.com/keogami/crypt/cmd/crypt@latest\n```\nThat's the end of it :3\n\n## Running crypt\nRun crypt by itself to get usage info:\n```bash\ncrypt\n```\n\n```\nNAME:\n   crypt - encrypt and decrypt files with AES-256\n\nUSAGE:\n   crypt [global options] command [command options] [arguments...]\n\nCOMMANDS:\n   encrypt, en, e  encrypt the given file and outputs to stdout\n   decrypt, de, d  decrypt the given file and outputs to stdout (on failure outputs nothing)\n   help, h         Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --passphrase value, --pass value, -p value  passphrase to be used for operations; if empty, you will be prompted to type it in\n   --salt value, -s value                      the file where the salt is to be stored or loaded from\n   --output value, --out value, -o value       output is the path to the file where the output is stored, defaults to stdout\n   --help, -h                                  show help (default: false)\n```\n\n## Encrypting a file\nTo encrypt files you need to specify three things:\n1. A passphrase using `-p`\n2. An output path using `-o`\n3. A path where you want the salt to be stored using `-s`\n\n```\ncrypt -p \u003cyour-passphrase\u003e -o \u003coutput-path\u003e -s \u003csalt-path\u003e encrypt \u003cinput-path\u003e\n```\n\nFor example:\n```\ncrypt -p \"my super secure passphrase\" -o output.enc -s output.salt encrypt mysecretfile.txt\n```\n\nThis will generate two new files:\n1. `output.enc`, the encrypted file\n2. `output.salt`, this file is required to decrypt `output.enc`\n\nNow you can safely delete the original file ;3\n\nNOTE: To avoid compromising your passphrase, omit `-p` or supply an empty string to `-p` and `crypt` will prompt you to enter your password.\n```\ncrypt -p \"\" -o output.enc -s output.salt encrypt mysecretfile.txt\n```\n\n## Decrypting a file\n\nTo decrypt, you simply do the inverse of encryption:\n```\ncrypt -p \u003cyour-passphrase\u003e -o \u003cdecrypted-output-path\u003e -s \u003csalt-path\u003e decrypt \u003cencrypted-input-file\u003e\n```\nNow you should have your original file back ;3\n\n----\n\n# What now?\nNow you can hide stuff without much hassle X3 thank me later\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeogami%2Fcrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeogami%2Fcrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeogami%2Fcrypt/lists"}