sss

package
Version: v0.0.0-...-d238806 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2019 License: GPL-2.0, GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPrimeStr = "115792089237316195423570985008687907853269984665640564039457584007913129639747"
)

Variables

This section is empty.

Functions

func Combine

func Combine(share1 string, share2 string, share3 string, share4 string, share5 string) (string, error)

Combine combines five shares

func Create

func Create(raw string) (string, error)

Create creates a new set of five shares

func IsValidShare

func IsValidShare(candidate string) bool

IsValidShare checks whether a given share is valid or not

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL