{"id":31931060,"url":"https://github.com/acmo0/lfsr-fibo","last_synced_at":"2025-10-14T04:17:08.217Z","repository":{"id":314071652,"uuid":"1054029844","full_name":"acmo0/lfsr-fibo","owner":"acmo0","description":"Efficient pure Rust implementation of LFSR in Fibonacci representation","archived":false,"fork":false,"pushed_at":"2025-09-10T09:16:56.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-10T12:57:02.552Z","etag":null,"topics":["cryptography","lfsr","lightweight-cryptography","random-generation"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/lfsr-fibo","language":"Rust","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/acmo0.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-10T09:11:16.000Z","updated_at":"2025-09-10T09:27:31.000Z","dependencies_parsed_at":"2025-09-10T12:57:04.342Z","dependency_job_id":"39a27b51-0e16-4136-8042-022d5f7ba477","html_url":"https://github.com/acmo0/lfsr-fibo","commit_stats":null,"previous_names":["acmo0/lfsr-fibo"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/acmo0/lfsr-fibo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acmo0%2Flfsr-fibo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acmo0%2Flfsr-fibo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acmo0%2Flfsr-fibo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acmo0%2Flfsr-fibo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acmo0","download_url":"https://codeload.github.com/acmo0/lfsr-fibo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acmo0%2Flfsr-fibo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017985,"owners_count":26086213,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"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":["cryptography","lfsr","lightweight-cryptography","random-generation"],"created_at":"2025-10-14T04:17:04.390Z","updated_at":"2025-10-14T04:17:08.209Z","avatar_url":"https://github.com/acmo0.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# lfsr-fibo\n\n![Crates.io Total Downloads](https://img.shields.io/crates/d/lfsr-fibo)\n![Crates.io Version](https://img.shields.io/crates/v/lfsr-fibo)\n\nEfficient pure Rust implementation of LFSR in fibonacci representation.\n\nPlease see installation details and doc on [crates.io](https://crates.io/crates/lfsr-fibo). \n\n\u003c/div\u003e\n\n***\n\n## Usage\n\nThis is an example of a basic usage. Let say that you want to generate 256 bits from the LFSR represented by the polynomial `x^11 + x^6 + x^3 + 1` with an initial state of `10101101110`, then you can use this crate in the folowing way :\n\n```rust\nuse std::collections::VecDeque;\nuse lfsr_fibo::Lfsr;\n\nfn main() {\n\tlet mut lfsr = Lfsr::new(vec![11, 6, 3]);\n\tlfsr.set_key(VecDeque::from([1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0]));\n\n\tlet mut generated: Vec\u003cu8\u003e = vec![];\n\n\tfor _i in 0..256 {\n\t\tgenerated.push(lfsr.clock());\n\t}\n\tprintln!(\"Generated : {:?}\", generated);\n}","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facmo0%2Flfsr-fibo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facmo0%2Flfsr-fibo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facmo0%2Flfsr-fibo/lists"}