diff --git a/web/src/components/cipher_form.rs b/web/src/components/cipher_form.rs index f215101..454717c 100644 --- a/web/src/components/cipher_form.rs +++ b/web/src/components/cipher_form.rs @@ -35,7 +35,14 @@ pub fn CipherForm(algorithm: Algorithm) -> impl IntoView { raw_text }; - let context = CipherContext::new(algorithm, mode.get(), key, final_text, output_fmt.get()); + let context = CipherContext::new( + algorithm, + mode.get(), + key, + None, + final_text, + output_fmt.get(), + ); match context.process() { Ok(out) => set_output(out), Err(e) => set_error_msg(e.to_string()),