I am trying to find a class or something that would allow me to do Shamir's Secret Sharing.
I found a program in C# that allows you to do it but it does not supply source code. I was just wondering if anyone has a class that already does what I need.
I implemented my own version of it that also uses PGP encryption. I describe the math behind it and give examples on how to use it in my blog post "Life, Death, and Splitting Secrets".
UPDATE: It's now available as a NuGet package (as well as a detailed example package)
EDIT: As noted in comments, this project doesn't actually have C# source code - but I can't delete the answer now as it's been accepted. Perhaps the OP was actually content to use a wrapper after all.
SecretSharp (linked from the wikipedia article) is GPL - you can browse the code here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With