convertEd25519PrivateKeyToX25519() function
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Converts Ed25519 private keys to X25519
Signature:
export declare function convertEd25519PrivateKeyToX25519(privateKey: Uint8Array): Uint8Array
Parameters
Parameter | Type | Description |
---|---|---|
privateKey | Uint8Array | The bytes of an Ed25519P private key This API may change without a BREAKING CHANGE notice. |
Returns:
Uint8Array