Module utils

Source
Expand description

Utility functions for the application.

This module provides various utility functions for generating keys, encrypting/decrypting data, and handling tunnels. It also includes functions for parsing tunnel definitions and handling bidirectional data transfer.

Functionsยง

decrypt
encrypt
generate_challenge
generate_ephemeral_key_pair
generate_key_pair
generate_key_pair_from_key
generate_shared_secret
handle_pump
parse_tunnel_definition
Parses the tunnel definition from the given input string.
parse_tunnel_definitions
random_string
sign_challenge
validate_signed_challenge