Skip to main content

decrypt_epoch_event

Function decrypt_epoch_event 

Source
pub fn decrypt_epoch_event(
    epoch_secret: &[u8; 32],
    track: &str,
    publisher_kid: &[u8; 32],
    session_id: &[u8; 16],
    membership_version: u64,
    epoch: u64,
    sequence: u64,
    nonce: &[u8; 12],
    tag: &[u8],
    ciphertext: &[u8],
    commitment: &[u8; 16],
) -> Result<Vec<u8>, String>