{"id":37032102,"url":"https://github.com/mtanksl/shamirsecretsharing","last_synced_at":"2026-01-14T03:56:51.913Z","repository":{"id":183817809,"uuid":"670266296","full_name":"mtanksl/ShamirSecretSharing","owner":"mtanksl","description":"A simple implementation in C# of Shamir's secret sharing algorithm.","archived":false,"fork":false,"pushed_at":"2023-07-30T01:52:54.000Z","size":39,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-29T01:25:02.314Z","etag":null,"topics":["algorithm","csharp","implementation","secret","shamir","shamir-secret-sharing","sharing","sss"],"latest_commit_sha":null,"homepage":"","language":"C#","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/mtanksl.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}},"created_at":"2023-07-24T16:54:32.000Z","updated_at":"2025-09-17T04:19:08.000Z","dependencies_parsed_at":"2023-11-26T11:43:26.438Z","dependency_job_id":null,"html_url":"https://github.com/mtanksl/ShamirSecretSharing","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"a2a8f02d13ed27051c4eec345355f7c4303dd299"},"previous_names":["mtanksl/shamirsecretsharing"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mtanksl/ShamirSecretSharing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtanksl%2FShamirSecretSharing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtanksl%2FShamirSecretSharing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtanksl%2FShamirSecretSharing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtanksl%2FShamirSecretSharing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtanksl","download_url":"https://codeload.github.com/mtanksl/ShamirSecretSharing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtanksl%2FShamirSecretSharing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408924,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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":["algorithm","csharp","implementation","secret","shamir","shamir-secret-sharing","sharing","sss"],"created_at":"2026-01-14T03:56:48.253Z","updated_at":"2026-01-14T03:56:51.891Z","avatar_url":"https://github.com/mtanksl.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shamir's Secret Sharing\n\nA simple implementation in C# of Shamir's secret sharing algorithm.\n\n# Install using NuGet\n![Nuget](https://img.shields.io/nuget/v/mtanksl.ShamirSecretSharing)\n\n```\ndotnet add package mtanksl.ShamirSecretSharing --version 1.0.4\n```\n\n# How to split a message into shares\n\n```C#\nusing (var sss = new ShamirSecretSharing() )\n{\n    var message = \"Share your knowledge. It is a way to achieve immortality.\";\n\n    var shares = sss.Split(2, 3, message);\n\n    foreach (var share in shares)\n    {\n        Console.WriteLine(share);\n    }\n}\n```\n\n# How to join shares into a message\n\n```C#\nusing (var sss = new ShamirSecretSharing() )\n{\n    var shares = new[] \n    {\n        Share.Parse(\"01-D4C58986F4FC661818FB85094E28EFB6AE17132DC0BDB4318E4D5F67D7516E3C3CF8CFEBE02A47793880C41A5E35A61B5AEDEF12498E80C219E563B98AB41238B800\"),\n                   \n        Share.Parse(\"02-5523B29A83D954C1BA83EBA72DE16601F8CABEF4515B20EFFB314BAE4D836517FFCF2B68A1F42A8A079B12D09B01DFC944686BC425B38C0B05CAC772156925707001\")\n    };\n\n    var message = sss.Join(shares);\n\n    Console.WriteLine(message);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtanksl%2Fshamirsecretsharing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtanksl%2Fshamirsecretsharing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtanksl%2Fshamirsecretsharing/lists"}