Skip to main content

seal_entry

Function seal_entry 

pub fn seal_entry(
    keys: &GroupKeys,
    entry: &PlaintextCommitLogEntry,
) -> Result<SealedCommitLogEntry, SealError>
Expand description

Seal a conversation’s entry for its commit-log topic, after the self-check. The entry’s protobuf encoding is the plaintext, so the same entry sealed twice gives the same bytes.