pub fn parse_algorithm_wasm(algorithm: &str) -> Result<Algorithm, JsValue>Expand description
WASM-safe algorithm parsing that returns JsValue errors
This function provides secure algorithm parsing that:
- Validates input strings
- Returns consistent error types
- Prevents injection attacks