Skip to main content

parse_algorithm_wasm

Function parse_algorithm_wasm 

Source
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