{"id":26398608,"url":"https://github.com/h5law/vinegar","last_synced_at":"2025-03-17T12:32:22.565Z","repository":{"id":239761845,"uuid":"798551755","full_name":"h5law/vinegar","owner":"h5law","description":"A Golang library for creating and using Vigenere Ciphers","archived":false,"fork":false,"pushed_at":"2024-08-28T06:58:27.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-28T07:29:43.897Z","etag":null,"topics":["cryptography","encryption-decryption","vigenere","vigenere-cipher","vigenere-cipher-algorithm"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/h5law/vinegar","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/h5law.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":"2024-05-10T02:21:46.000Z","updated_at":"2024-08-03T22:36:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ba2009e-ead0-49df-918a-df93c5c64799","html_url":"https://github.com/h5law/vinegar","commit_stats":null,"previous_names":["h5law/vinegar"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h5law%2Fvinegar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h5law%2Fvinegar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h5law%2Fvinegar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h5law%2Fvinegar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h5law","download_url":"https://codeload.github.com/h5law/vinegar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244033850,"owners_count":20387013,"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":["cryptography","encryption-decryption","vigenere","vigenere-cipher","vigenere-cipher-algorithm"],"created_at":"2025-03-17T12:31:56.750Z","updated_at":"2025-03-17T12:32:22.560Z","avatar_url":"https://github.com/h5law.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vinegar\n\nvinegar is a library for producing, Vigenere tables and encrypting/decrypting\nmessages with them.\n\nPlaintext messages have their spaces removed during encryption as the library\nuses the standard latin alphabet modified by a keyword (with duplicates removed).\nThis means the decrypted message will also have no spaces but will match the\nplaintext input in all other ways.\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n  \n    \"github.com/h5law/vinegar\"\n)\n\nfunc main() {\n    vig := vinegar.NewVigenere(\"kyrptos\")\n    cipher := vig.Encrypt(\"this is a secret hidden message\", \"neddih\")\n    plain := vig.Decrypt(cipher, \"neddih\")\n    fmt.Println(cipher)                        // wzzjtqklunlzwzzqzzfpujuusv\n    fmt.Println(plain)                         // thisisasecrethiddenmessage\n    // Using the wrong key\n    fmt.Println(vig.Decrypt(cipher, \"hidden\")) // cdisnyfrecsscdidhsxhesdrma\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh5law%2Fvinegar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh5law%2Fvinegar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh5law%2Fvinegar/lists"}