Top 1.8% dependent packages on proxy.golang.org
Top 2.9% dependent repos on proxy.golang.org
proxy.golang.org : github.com/lafriks/go-shamir
Package shamir implements Shamir's Secret Sharing algorithm over GF(2^8). Shamir's Secret Sharing algorithm allows you to securely share a secret with N people, allowing the recovery of that secret if K of those people combine their shares. It begins by encoding a secret as a number (e.g., 42), and generating N random polynomial equations of degree K-1 which have an X-intercept equal to the secret. Given K=3, the following equations might be generated: These polynomials are then evaluated for values of X > 0: These (x, y) pairs are the shares given to the parties. In order to combine shares to recover the secret, these (x, y) pairs are used as the input points for Lagrange interpolation, which produces a polynomial which matches the given points. This polynomial can be evaluated for f(0), producing the secret value--the common x-intercept for all the generated polynomials. If fewer than K shares are combined, the interpolated polynomial will be wrong, and the result of f(0) will not be the secret. This package constructs polynomials over the field GF(2^8) for each byte of the secret, allowing for fast splitting and combining of anything which can be encoded as bytes. This package has not been audited by cryptography or security professionals.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/lafriks/go-shamir
Keywords:
go
, go-library
, golang
, golang-library
, shamir
, shamir-secret-sharing
License: MIT
Latest release: 10 months ago
First release: over 4 years ago
Namespace: github.com/lafriks
Dependent packages: 9
Dependent repositories: 3
Stars: 2 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/lafriks
Last synced: 21 days ago
github.com/mrjrieke/hat v1.0.2
7 versions - Latest release: about 1 year ago - 0 stars on GitHubgithub.com/trimble-oss/tierceron/atrium v0.0.0-20240124230658-135d8c0e645c
Tierceron is a framework of services and tools for securely storing, managing (via tools, data fl...25 versions - Latest release: over 1 year ago - 8 stars on GitHub
github.com/trustbloc/kms/cmd/kms-server v0.0.0-20230515191209-e472cc8afa8e
Package kms-server TrustBloc KMS - APIs for Key Management and Crypto operations. swagger:meta4 versions - Latest release: about 2 years ago - 26 stars on GitHub
github.com/Maurik77/go-confignet v0.1.7
8 versions - Latest release: about 2 years ago - 3 stars on GitHubgithub.com/maurik77/go-confignet v0.1.7
8 versions - Latest release: about 2 years ago - 3 stars on GitHubgithub.com/trustbloc/edge-agent v0.1.8
8 versions - Latest release: about 3 years ago - 4 dependent packages - 1 dependent repositoriesgithub.com/trustbloc/wallet v0.1.8
Wallet implementation based on agent-sdk8 versions - Latest release: about 3 years ago - 1 dependent package - 1 dependent repositories - 25 stars on GitHub
github.com/trustbloc/wallet/cmd/wallet-server v0.0.0-20220325151240-04c7cad341af
Package wallet-server (Wallet Server REST API) of trustbloc/wallet. Terms Of Service: swagger:meta1 version - Latest release: about 3 years ago - 25 stars on GitHub
github.com/trustbloc/edge-agent/cmd/wallet-server v0.0.0-20220316134556-4a46e724e5d1
Package wallet-server (Wallet Server REST API) of trustbloc/edge-agent. Terms Of Service: swagg...1 version - Latest release: over 3 years ago
Check this option to include packages that no longer depend on this package in their latest version but previously did.