create

fun create(sessionKey: PrivateKey, publicKeys: List<PublicKey>, payloads: List<ByteVector>): RouteBlinding.BlindedRoute

Blind the provided route and encrypt intermediate nodes' payloads.

Return

a blinded route.

Parameters

sessionKey

this node's session key.

publicKeys

public keys of each node on the route, starting from the introduction point.

payloads

payloads that should be encrypted for each node on the route.