Skip to main content

open_with

Function open_with 

Source
pub fn open_with(suite: &dyn Suite, bytes: &[u8]) -> Option<Vec<u8>>
Expand description

Reverse seal_with under a keyed Suite instance, or None on a bad header, a suite-id mismatch, or a body the suite rejects (a tampered AEAD tag).