c-SSS
0.2.1
Implementation of Shamir's Secret Sharing in C.
|
Simple library for providing SSS functionality. More...
#include "strtok.h"
Go to the source code of this file.
Functions | |
void | seed_random (void) |
Seed the random number generator. MUST BE CALLED before using the library (unless on arc4random() system). | |
char * | generate_share_strings (char *secret, int n, int t) |
Given a secret, n , and t , create a list of shares (\n separated). | |
char * | extract_secret_from_share_strings (const char *string) |
Given a list of shares (\n separated without leading whitespace), recreate the original secret. | |
Simple library for providing SSS functionality.
Definition in file shamir.h.