Trait SparkSignerShamir

Source
pub trait SparkSignerShamir {
    // Required methods
    fn split_with_verifiable_secret_sharing(
        &self,
        message: Vec<u8>,
        threshold: usize,
        num_shares: usize,
    ) -> Result<Vec<VerifiableSecretShare>, SparkSdkError>;
    fn split_from_public_key_with_verifiable_secret_sharing(
        &self,
        public_key: Vec<u8>,
        threshold: usize,
        num_shares: usize,
    ) -> Result<Vec<VerifiableSecretShare>, SparkSdkError>;
}

Required Methods§

Implementors§