Skip to content

Latest commit

 

History

History

shamir

README.md

Blockchain Commons Shamir Secret Sharing for TypeScript

Disclaimer: This package is under active development and APIs may change.

Introduction

This is a pure TypeScript implementation of Shamir's Secret Sharing (SSS), a cryptographic technique in which a secret is divided into parts, called shares, in such a way that a threshold of several shares are needed to reconstruct the secret. The shares are distributed in a way that makes it impossible for an attacker to know anything about the secret without having a threshold of shares. If the number of shares is less than the threshold, then no information about the secret is revealed.

Rust Reference Implementation

This TypeScript implementation is based on bc-shamir-rust v0.13.0 (commit).