Registry / crypto / sharks

sharks

JSON →
library0.5.0rscratesunverified

Fast, small and secure Shamir's Secret Sharing library crate.

# Cargo.toml [dependencies] sharks = "0.5.0"
INSTALL
IMPORT
SIG · SHARKS
S
sharks
cryptorustv0.5.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.

Sharks
✓ use sharks::Sharks;

Split a secret into shares using Shamir's Secret Sharing.

use sharks::Sharks; fn main() { let sharks = Sharks(3); let secret = &[1, 2, 3]; let shares = sharks.deal(secret); println!("Generated {} shares", shares.len()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Resources
sharks — cargo add sharks · libregistry