Skip to main content

parse_output

Function parse_output 

Source
pub fn parse_output(blob: &[u8]) -> Result<([u8; 32], [u8; 32])>
Expand description

Parse a DKG output blob into (public_key_bytes, share_bytes).

The blob is the value returned by the DKG session via confium_tc::Session::result / confium_tc::Session::dkg_public_key.