Skip to main content

check_key

Function check_key 

Source
pub fn check_key(key: &[u8]) -> Result<(), ArchiveError>
Expand description

Rejects a key that is not ENC_KEY_SIZE bytes. Export and import call it first; callers holding a large input may call it before copying that input.