{"id":19668204,"url":"https://github.com/nsmith5/ncrypt","last_synced_at":"2026-05-26T16:35:55.130Z","repository":{"id":38204642,"uuid":"443991899","full_name":"nsmith5/ncrypt","owner":"nsmith5","description":"Simple Encryption CLI","archived":false,"fork":false,"pushed_at":"2023-03-06T09:06:39.000Z","size":44,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-10T02:59:39.001Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/nsmith5.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":"2022-01-03T08:37:11.000Z","updated_at":"2022-01-03T10:09:01.000Z","dependencies_parsed_at":"2024-06-21T08:53:24.440Z","dependency_job_id":null,"html_url":"https://github.com/nsmith5/ncrypt","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsmith5%2Fncrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsmith5%2Fncrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsmith5%2Fncrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsmith5%2Fncrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nsmith5","download_url":"https://codeload.github.com/nsmith5/ncrypt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240977217,"owners_count":19887617,"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-11T16:34:47.477Z","updated_at":"2026-05-26T16:35:55.095Z","avatar_url":"https://github.com/nsmith5.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `ncrypt` |  simple file encryption CLI\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/nsmith5/ncrypt)](https://goreportcard.com/report/github.com/nsmith5/ncrypt)\n\n\u003e NB: You probably _shouldn't_ use this! Go find you a battle tested\n\u003e encryption CLI. I'm sure its out there somewhere.\n\n`ncrypt` is a very simple command line tool for file encryption\nand decryption.\n\n## Usage\n\n```\nUsage of ncrypt:\n  -d, --decrypt         decrypt input instead of encrypt\n  -i, --input string    input filename (default \"stdin\")\n  -o, --output string   output filename (default \"stdout\")\n      --passwd-stdin    read password from stdin\n```\n\n```bash\n# Encrypt\nncrypt -i input.txt \u003e input.txt.ncrypt\n```\n\n```bash\n# Decrypt\nncrypt -i input.txt.ncrypt\n```\n\n## Design\n\n`ncrypt` uses [argon2id](https://github.com/p-h-c/phc-winner-argon2) for key\nderivation (turning your password input into an encryption key) and\n[xchacha20poly1305](https://datatracker.ietf.org/doc/html/draft-arciszewski-xchacha)\nfor authenticated encryption.\n\n## Why?\n\nIn a recent conversation with some folks we were dismayed at the state of\nencryption of private keys output by openssl. We were wanting for a simple CLI\nthat used modern authenticated encryption to encrypt files with a password.\nWhile greate libraries exist like\n\n- [Tink](https://github.com/google/tink)\n- [NaCl / libsodium](https://nacl.cr.yp.to/)\n\nwe couldn't find a simple ubiquitous encryption CLI that exposed these\nlibraries for command line users.\n\n## Whats with the name?\n\nn -\u003e Nathan (me)\n\ncrypt -\u003e encrypt / decrypt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsmith5%2Fncrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnsmith5%2Fncrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsmith5%2Fncrypt/lists"}