{"id":25778901,"url":"https://github.com/sawadashota/encrypta","last_synced_at":"2025-02-27T06:38:20.986Z","repository":{"id":57480825,"uuid":"175940280","full_name":"sawadashota/encrypta","owner":"sawadashota","description":"Keybase friendly, encrypts text by public key.","archived":false,"fork":false,"pushed_at":"2025-02-21T08:19:12.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T09:27:39.334Z","etag":null,"topics":["encrypt","keybase","pgp"],"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/sawadashota.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":"2019-03-16T07:26:35.000Z","updated_at":"2025-02-21T08:19:14.000Z","dependencies_parsed_at":"2024-06-20T19:24:46.346Z","dependency_job_id":null,"html_url":"https://github.com/sawadashota/encrypta","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sawadashota%2Fencrypta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sawadashota%2Fencrypta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sawadashota%2Fencrypta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sawadashota%2Fencrypta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sawadashota","download_url":"https://codeload.github.com/sawadashota/encrypta/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240990641,"owners_count":19889916,"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":["encrypt","keybase","pgp"],"created_at":"2025-02-27T06:38:20.270Z","updated_at":"2025-02-27T06:38:20.971Z","avatar_url":"https://github.com/sawadashota.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Encrypta\n===\n\n[![GoDoc](https://godoc.org/github.com/sawadashota/encrypta?status.svg)](https://godoc.org/github.com/sawadashota/encrypta)\n[![codecov](https://codecov.io/gh/sawadashota/encrypta/branch/master/graph/badge.svg)](https://codecov.io/gh/sawadashota/encrypta)\n\n[Keybase](https://keybase.io) friendly, encrypts text by public key.\n\nExample\n---\n\n```go\npk, err := encrypta.NewPublicKeyFromKeybase(\"sawadashota\")\nif err != nil {\n\t// error handling\n}\n\nenc, err := pk.Encrypt([]byte(\"I'm encrypted text\"))\nif err != nil {\n\t// error handling\n}\n\nfmt.Println(enc.Base64Encode())\n// Stdout base64 encoded encrypted text\n```\n\nTo decode this, private key holder executes following command\n\n```\n$ go run main.go | base64 --decode | keybase pgp decrypt\nI'm encrypted text\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsawadashota%2Fencrypta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsawadashota%2Fencrypta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsawadashota%2Fencrypta/lists"}