Skip to main content

encapsulate_mock

Function encapsulate_mock 

Source
pub fn encapsulate_mock(
    recipient: &ThresholdPublicKey,
) -> Result<(EncapsulatedKey, SharedSecret), EncapsulateError>
Expand description

Convenience function: encapsulate using the mock encapsulator.