pub fn unwrap(key: &[u8; 32], sealed: &[u8; 48]) -> Result<[u8; 32]>Expand description
Opens a 48-byte sealed value under K_wrap, returning the 32-byte value.
ยงErrors
Fails when the tag does not authenticate: a wrong key - a different label, sid or ISK -
or any changed byte of the ciphertext or tag. The error names no key, value or seal bytes.