Skip to main content

decrypt_block

Function decrypt_block 

Source
pub fn decrypt_block(data: &[u8], keystore: &TactKeyStore) -> Result<Vec<u8>>
Expand description

Decrypt a BLTE mode-E block.

data is everything after the E mode byte. Returns the decrypted payload whose first byte is the inner compression mode (N, Z, 4, etc.).