I'm trying to find a class or something that would allow me to do Shamir Secret Sharing .
I found a C # program that allows you to do this, but it does not contain the source code. I'm just wondering if anyone has a class that is already doing what I need.
EDIT: As noted in the comments, this project does not actually have C # source code, but I cannot delete the answer now that it was accepted. Perhaps the OP actually used the wrapper.
SecretSharp (linked from wikipedia article) is the GPL - you can view the code here .
I have implemented my own version , which also uses PGP encryption. I describe the math behind it and give examples of how to use it on my blog, "Life, Death, and the Secrets of Cleavage . "
UPDATE: Now it is available as a NuGet package (as well as a detailed sample package )
Why not use ILDASM or Reflector to get the source from your application?