method PrivateX25519.prototype.toPublicKey
PrivateX25519.prototype.toPublicKey(
id: string,
controller: string,
): PublicX25519

Derive an X25519 public key from the private key.

Parameters

id: string
controller: string

Return Type