Skip to main content

new_handler

Function new_handler 

Source
pub fn new_handler(
    params: &NewHandler<'_>,
    entropy: &mut dyn Entropy,
) -> Handler
Expand description

Algorithm 8 (/U, /UE), Algorithm 9 (/O, /OE) and Algorithm 10 (/Perms).

With both passwords empty the file would open for anyone and could not be changed: the caller refuses that case (encryption-no-password) before it gets here.

Added in 0.7.0.