Skip to main content

verify_shadow

Function verify_shadow 

Source
pub fn verify_shadow(
    img: &JpegImage,
    state: &ShadowState,
    passphrase: &str,
) -> Result<(), StegoError>
Expand description

Verify a shadow layer can be correctly decoded from the current image state.

Extracts LSBs, RS-decodes, parses frame, and decrypts.