{"id":16098717,"url":"https://github.com/n1ghtf1re/stream-ciphers","last_synced_at":"2025-03-18T07:30:55.775Z","repository":{"id":131062876,"uuid":"150072454","full_name":"N1ghtF1re/Stream-ciphers","owner":"N1ghtF1re","description":"The implementation of the stream ciphers: LFSR, GEFFE, RC4","archived":false,"fork":false,"pushed_at":"2018-10-07T08:28:58.000Z","size":32,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T07:54:59.390Z","etag":null,"topics":["algorithm","cipher","cipher-algorithms","crypto-algorithm","crytography","geffe-generator","lfsr","rc4","rc4-algorithm","stream-cipher","stream-ciphers"],"latest_commit_sha":null,"homepage":"","language":"Java","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/N1ghtF1re.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":"2018-09-24T08:14:07.000Z","updated_at":"2022-09-11T11:37:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"ddd02bef-d273-4c06-bf93-7df1fba71fa8","html_url":"https://github.com/N1ghtF1re/Stream-ciphers","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/N1ghtF1re%2FStream-ciphers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N1ghtF1re%2FStream-ciphers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N1ghtF1re%2FStream-ciphers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N1ghtF1re%2FStream-ciphers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/N1ghtF1re","download_url":"https://codeload.github.com/N1ghtF1re/Stream-ciphers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910715,"owners_count":20367538,"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":["algorithm","cipher","cipher-algorithms","crypto-algorithm","crytography","geffe-generator","lfsr","rc4","rc4-algorithm","stream-cipher","stream-ciphers"],"created_at":"2024-10-09T18:24:29.392Z","updated_at":"2025-03-18T07:30:55.770Z","avatar_url":"https://github.com/N1ghtF1re.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eStream ciphers\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://i.imgur.com/ZfMSTrk.png\" width=150\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/N1ghtF1re/Stream-ciphers/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/N1ghtF1re/Stream-ciphers.svg\" alt=\"Stars\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/N1ghtF1re/Stream-ciphers/releases\"\u003e\u003cimg src=\"https://img.shields.io/badge/downloads-3-brightgreen.svg\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/N1ghtF1re/Stream-ciphers/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/tag/N1ghtF1re/Stream-ciphers.svg\" alt=\"Latest Stable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/N1ghtF1re/Stream-ciphers/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/N1ghtF1re/Stream-ciphers.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003c/p\u003e\n\n## About the library\nThe library contains three stream ciphers: LFSR, Geffe, RC4\n\n## Class LFSR: \n### Constructors: \n- LFSR(long initRegister, int[] polinom) \n- LFSR(String initRegister) - default poinom (x^24 + x^4 + x^3 + x + 1)\n\n### Methods: \n- encrypt(byte[]) - return encoded bytes array.\n- decrypt(byte[]) - return decoded bytes array.\n- generateKey() - return bytes array of key\n\n## Class GEFFE: \n### Constructors: \n- Geffe(String initRegister1, String initRegister2, String initRegister3, int[] polinom1, int polinom2[], int polinom3[]) \n- Geffe(String initRegister1, String initRegister2, String initRegister3) - default poinoms (x^24 + x^4 + x^3 + x + 1, x^32 + x^28 + x^27 + x + 1, x^40 + x^21 + x^19 + x^2 + 1)\n\n### Methods: \n- encrypt(byte[]) - return encoded bytes array.\n- decrypt(byte[]) - return decoded bytes array.\n- generateKey() - return bytes array of key\n\n## Class RC4: \n### Constructors:\n- RC4(String strKey)\n\n### Methods: \n- encrypt(byte[]) - return encoded bytes array.\n- decrypt(byte[]) - return decoded bytes array.\n- generateKey() - return bytes array of key\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn1ghtf1re%2Fstream-ciphers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn1ghtf1re%2Fstream-ciphers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn1ghtf1re%2Fstream-ciphers/lists"}