{"id":16537970,"url":"https://github.com/dipjyotimetia/encryptme","last_synced_at":"2026-06-14T21:32:54.494Z","repository":{"id":195207485,"uuid":"692467512","full_name":"dipjyotimetia/encryptme","owner":"dipjyotimetia","description":"File Encryption and Decryption in Go","archived":false,"fork":false,"pushed_at":"2023-09-17T06:39:15.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-02T06:43:17.813Z","etag":null,"topics":["encryption-decryption","golang","testdata"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dipjyotimetia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-09-16T15:12:28.000Z","updated_at":"2023-09-17T02:36:33.000Z","dependencies_parsed_at":"2025-03-03T21:10:27.893Z","dependency_job_id":"f28e3d82-d212-40b7-96bc-dfd7a796b0ed","html_url":"https://github.com/dipjyotimetia/encryptme","commit_stats":null,"previous_names":["dipjyotimetia/encryptme"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dipjyotimetia/encryptme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipjyotimetia%2Fencryptme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipjyotimetia%2Fencryptme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipjyotimetia%2Fencryptme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipjyotimetia%2Fencryptme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dipjyotimetia","download_url":"https://codeload.github.com/dipjyotimetia/encryptme/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipjyotimetia%2Fencryptme/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34339194,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["encryption-decryption","golang","testdata"],"created_at":"2024-10-11T18:44:07.546Z","updated_at":"2026-06-14T21:32:54.474Z","avatar_url":"https://github.com/dipjyotimetia.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EncryptMe - File Encryption and Decryption in Go\n\n[![Go Test](https://github.com/dipjyotimetia/encryptme/actions/workflows/test.yaml/badge.svg?branch=main)](https://github.com/dipjyotimetia/encryptme/actions/workflows/test.yaml)\n\n## Problem Statement\n\nOrganizations need a reliable tool to protect their sensitive test data. EncryptMe is a simple solution aims to provide a trustworthy mechanism for securing files(text/yaml/json/etc...), ensuring that even if the files fall into the wrong hands, they remain unreadable without the correct decryption key, this also ensures a global standard for data security.\n\nEncryptMe is a Go package that provides functions for encrypting and decrypting files using the AES-GCM encryption algorithm. This package allows you to secure the content of your files with a secret key, ensuring that only authorized parties can access the data.\n\n\u003cimg src=\"docs\\encryptmet.png\" width=\"700\"\u003e\n\n## Features\n\n- Encrypt any file using AES-GCM encryption.\n- Decrypt encrypted files with the correct secret key.\n- Easy-to-use functions for file encryption and decryption.\n\n## Installation\n\nYou can install EncryptMe using Go modules:\n\n```shell\ngo get github.com/dipjyotimetia/encryptme\n```\n\n## Usage\n\n### Encrypt a File\n\nTo encrypt a file, use the `EncryptFile` function provided by the EncryptMe package. This function takes the following parameters:\n\n- `contentFile`: The path to the file you want to encrypt.\n- `secretKey`: The path to the secret key file used for encryption.\n- `exportBin`: The path where the encrypted file will be saved.\n\nExample:\n\n```go\nimport \"github.com/dipjyotimetia/encryptme\"\n\nfunc main() {\n    err := encryptme.EncryptFile(\"plaintext.txt\", \"secret.key\", \"encrypted.bin\")\n    if err != nil {\n        panic(err)\n    }\n}\n```\n\n### Decrypt a File\n\nTo decrypt a previously encrypted file, use the `DecryptFile` function. This function takes the following parameters:\n\n- `importBin`: The path to the encrypted file.\n- `secretKey`: The path to the secret key file used for decryption.\n- `content`: The path where the decrypted content will be saved.\n\nExample:\n\n```go\nimport \"github.com/dipjyotimetia/encryptme\"\n\nfunc main() {\n    err := encryptme.DecryptFile(\"encrypted.bin\", \"secret.key\", \"decrypted.txt\")\n    if err != nil {\n        panic(err)\n    }\n}\n```\n\n## Security Considerations\n\n- Keep your secret key secure. Do not share it with unauthorized users.\n- Ensure that you have proper access control for your secret key file.\n- Use strong and unique secret keys for each encryption operation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdipjyotimetia%2Fencryptme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdipjyotimetia%2Fencryptme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdipjyotimetia%2Fencryptme/lists"}