Skip to content

generateTransportKeyPair

threshold-elgamal


threshold-elgamal / threshold-elgamal / generateTransportKeyPair

generateTransportKeyPair(options?): Promise<TransportKeyPair>

Generates an X25519 transport key pair.

Trustees publish the public half in their registration payloads and keep the private half for decrypting inbound dealer envelopes.

GenerateTransportKeyPairOptions = {}

Promise<TransportKeyPair>