Skip to main content

Module crypto

Module crypto 

Source

Structs§

WasmCryptoError
Node-authentication crypto failure converted at the JavaScript boundary.

Functions§

wasm_build_sign_message
wasm_build_sign_message_bytes
wasm_generate_node_keypair
Generate a new node keypair. Returns { privateKey, publicKey }.
wasm_sha256_hex
wasm_sign_message
Sign a message with a base64-encoded private key. Returns signature as base64.
wasm_verify_signature