Skip to main content

wrap_payload

Function wrap_payload 

Source
pub fn wrap_payload(payload: &[u8]) -> Vec<u8> 
Expand description

Wrap a serialized Payload in the .a7p envelope (MD5 hex prefix). The inverse of the envelope check in parse_a7p; used by tests today and by .a7p export later.