Derives the Ed25519 public key for a private key (asynchronous variant of getPublicKey; same contract).
32-byte Ed25519 private key.
A Promise resolving to the 32-byte public key.
TypeError if the key length is invalid.
TypeError
RangeError if the key length is invalid.
RangeError
Derives the Ed25519 public key for a private key (asynchronous variant of getPublicKey; same contract).