diff --git a/src/share.rs b/src/share.rs index c7cd53c..c6b861b 100644 --- a/src/share.rs +++ b/src/share.rs @@ -21,6 +21,7 @@ use super::field::GF256; /// let shares_bytes: Vec> = ask_shares(); /// let shares: Vec = shares_bytes.iter().map(|s| Share::from(s.as_slice())).collect(); /// let secret = sharks.recover(&shares).unwrap(); +#[derive(Clone)] pub struct Share { pub x: GF256, pub y: Vec,