0.5.1 • Published 3 years ago
@spliterati/shamir v0.5.1
shamir
This library is a port of the arbitrary-length per-byte shamir secret sharing implementation from Hashicorp's Vault product.
I have removed the constant runtime functionality from the galois field arithmetic, as it doesn't really add much to the security of this system.
Usage
import {Shamir} from '@spliterati/shamir';
const secret : Uint8Array = ...;
// ...
const shares = Shamir.split(secret, 5, 3);
const reassembled = Shamir.combine([shares[0], shares[3], shares[1]]);
// arbitrary indices
expect(secret).toEqual(reassembled);
0.5.1
3 years ago
0.5.1-alpha.0
3 years ago
0.5.0
3 years ago
0.4.0
3 years ago
0.3.3-beta.2
3 years ago
0.3.3-beta.1
3 years ago
0.3.3-alpha.9
3 years ago
0.3.3-alpha.10
3 years ago
0.3.3-alpha.5
3 years ago
0.3.3-alpha.4
3 years ago
0.3.3-alpha.3
3 years ago
0.3.3-alpha.2
3 years ago
0.3.3-alpha.0
3 years ago
0.3.2-alpha.5
3 years ago