Skip to main content

Module utils

Module utils 

Source
Expand description

WASM utility functions

This module provides utility functions specifically designed for WASM environments, including secure random generation, data validation, and helper functions.

Functionsยง

bytes_to_hex
Convert bytes to hexadecimal string
get_library_info
Get library information for WASM
get_supported_algorithms
Get supported algorithms by category
hex_to_bytes
Convert hexadecimal string to bytes
is_feature_available
Check if a feature is available
random_bytes
Generate cryptographically secure random bytes for WASM
validate_input
Validate input data for WASM operations