Function encode_to_cart

Source
pub fn encode_to_cart(data: &[u8]) -> Result<Vec<u8>>
Expand description

Convenience function for encoding bytes into a CaRT file using the default key. This also adds SHA-384 and SHA-512 hashes plus the entropy of the original file. See https://github.com/CybercentreCanada/cart for more information.