From 187b65d011b82e34c8c5d23ffbd144b15b64d95f Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Wed, 31 Dec 2025 04:26:42 +0200 Subject: [PATCH] fix(web): update CipherContext call to include IV parameter --- web/src/components/cipher_form.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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()),