Skip to main content

convertEd25519PublicKeyToX25519() function

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Converts Ed25519 public keys to X25519

Signature:

export declare function convertEd25519PublicKeyToX25519(publicKey: Uint8Array): Uint8Array

Parameters

ParameterTypeDescription
publicKeyUint8Array

The bytes of an Ed25519P public key

This API may change without a BREAKING CHANGE notice.

Returns:

Uint8Array