package
1.0.10
Repository: https://github.com/adam-p/psiphon-tunnel-core.git
Documentation: pkg.go.dev

# README

sss (Shamir's Secret Sharing)

Build Status

A pure Go implementation of Shamir's Secret Sharing algorithm over GF(2^8).

Inspired by @hbs's Python implementation.

For documentation, check godoc.

# Functions

Combine the given shares into the original secret.
Split the given secret into N shares of which K are required to recover the secret.
SplitUsingReader splits the given secret, as Split does, but using the specified reader to create random polynomials.

# Variables

ErrInvalidCount is returned when the count parameter is invalid.
ErrInvalidThreshold is returned when the threshold parameter is invalid.