fix(web): update CipherContext call to include IV parameter

This commit is contained in:
Kristofers Solo 2025-12-31 04:26:42 +02:00
parent 48ab599d66
commit 187b65d011
Signed by: kristoferssolo
GPG Key ID: 8687F2D3EEE6F0ED

View File

@ -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()),