pub struct SharedSecret {
pub share: SecretShare,
pub public_key: SecretSharingPublicKey,
pub ready_peers: u32,
}Expand description
Результат распределённой генерации ключа.
Fields§
Доля этого участника. Её нужно сохранить: без неё участник не сможет участвовать в расшифровке.
public_key: SecretSharingPublicKeyОбщий открытый ключ, одинаковый у всех участников. Им шифруют.
ready_peers: u32Число участников, успешно завершивших генерацию.
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more