libgfshare-bin

Library for Shamir Secret Sharing in the Galois Field 2**8.

Cost / License

  • Free
  • Open Source

Platforms

  • Linux
-
No reviews
3likes
0comments
0news articles

Features

Suggest and vote on features
No features, maybe you want to suggest one?

 Tags

  • cryptography
  • secret-sharing
  • shamir-secret-sharing-scheme

libgfshare-bin News & Activities

Highlights All activities

Recent activities

No activities found.

libgfshare-bin information

  • Developed by

    Unknown
  • Licensing

    Open Source and Free product.
  • Alternatives

    2 alternatives listed
  • Supported Languages

    • English

Popular alternatives

View all
libgfshare-bin was added to AlternativeTo by derdodd on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is libgfshare-bin?

This library implements what is known as Shamir Secret Sharing. This entails encoding a secret as an integer and then constructing a polynomial whose coefficients are random and calculating coordinate pairs along the resultant curve. These coordinate pairs are considered 'shares' and by controlling the order of the polynomial we can control the number of shares required to be able to recover the secret.

In this manner we can split a secret into any 'C' shares, any 'T' of which can be used to recover the secret.

This would be useful, for example, in looking after GPG secret keys used rarely, but whose security is paramount. For example a key used to sign the key which signs the Debian or Ubuntu package archives.

If you wish to know more about how the secret sharing works and why it is safe, there exists many articles on the mathematics behind it.

This particular implementation was very heavily inspired by the work of Mark D. Wooding (mdw) in his catacomb library. Thanks go to Mark for offering to share this implementation with me.

Using the library is very easy. The tests and sample tools are very straightforward and the header file tells you what each function is used for.