{"id":27969552,"url":"https://github.com/mgerb/mgcrypt","last_synced_at":"2025-05-07T21:11:30.954Z","repository":{"id":64307395,"uuid":"161281213","full_name":"mgerb/mgcrypt","owner":"mgerb","description":"Dead simple AES file encryption.","archived":false,"fork":false,"pushed_at":"2018-12-11T05:54:20.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T21:11:28.370Z","etag":null,"topics":["aes","aes-encryption","go","golang","mgcrypt"],"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/mgerb.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":"2018-12-11T05:21:46.000Z","updated_at":"2020-11-05T09:09:24.000Z","dependencies_parsed_at":"2023-01-15T11:00:15.964Z","dependency_job_id":null,"html_url":"https://github.com/mgerb/mgcrypt","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/mgerb%2Fmgcrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fmgcrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fmgcrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fmgcrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgerb","download_url":"https://codeload.github.com/mgerb/mgcrypt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954409,"owners_count":21830905,"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":["aes","aes-encryption","go","golang","mgcrypt"],"created_at":"2025-05-07T21:11:30.278Z","updated_at":"2025-05-07T21:11:30.942Z","avatar_url":"https://github.com/mgerb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MGCrypt\n\nDead simple AES file encryption.\n\n**Disclaimer: I'm no security expert, use at your own risk.**\n\n[Download the latest release here.](https://github.com/mgerb/mgcrypt/releases)\n\n---\n\n## Usage\n\n**Arguments**\n\n* **-d** Decrypt (encrypts by default)\n* **-k** Specify your encryption key\n* **-o** Specify an output file\n\n---\n\n### Encrypt\n\n```\nmgcrypt -k yourSecretKey inputFile\n```\n\n### Decrypt\n```\nmgcrypt -k yourSecretKey -d inputFile\n```\n\n#### Output to a file (this works for both encryption/decription)\n\n```\nmgcrypt -k yourSecretKey -o outputFile inputFile\n\nor\n\nmgcrypt -k yourSecretKey inputFile \u003e outputFile\n\n```\n\n## How does it work?\n\n* The Go standard crypto libraries are used to encrypt/decrypt files with [AES](https://en.wikipedia.org/wiki/Advanced_Encryption_Standard)\n* A salt is stored with each encrypted file (the first 128 bits of SHA256 checksum of the original file)\n* [pbkdf2](https://en.wikipedia.org/wiki/PBKDF2) is used to generate an AES key with password/salt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgerb%2Fmgcrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgerb%2Fmgcrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgerb%2Fmgcrypt/lists"}