Registry / crypto / secret-sharing

secret-sharing

JSON →
library0.2.0rscratesunverified

Various secret sharing schemes.

# Cargo.toml [dependencies] secret_sharing = "0.2.0"
INSTALL
IMPORT
SIG · SECRET-SHARING
S
secret-sharing
cryptorustv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ShamirSecretSharing
use secret_sharing::ShamirSecretSharing;

Shares a secret using Shamir's scheme and reconstructs it.

use secret_sharing::ShamirSecretSharing; let scheme = ShamirSecretSharing::new(3, 5); let shares = scheme.share(42); let recovered = scheme.reconstruct(&shares[..3]); assert_eq!(recovered, 42);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
secret-sharing — cargo add secret-sharing · libregistry