feat(web): create CipherForm component

This commit is contained in:
2025-11-26 03:43:23 +02:00
parent 5f22690ef7
commit aa4bd9ecec
16 changed files with 430 additions and 124 deletions

View File

@@ -1,4 +1,4 @@
use cipher_factory::{Algorithm, CipherContext, OperationChoice, OutputFormat};
use cipher_factory::{Algorithm, CipherContext, OperationMode, OutputFormat};
use clap::Parser;
#[derive(Debug, Clone, Parser)]
@@ -6,7 +6,7 @@ use clap::Parser;
pub struct Args {
/// Operation to perform
#[arg(value_name = "OPERATION")]
pub operation: OperationChoice,
pub operation: OperationMode,
/// Encryption algorithm
#[arg(short, long)]