Exports Ed25519 public CryptoKey to PublicKey. If publicKey is already Buffer, then this just returns it. The returned buffers is guaranteed to unpooled. This means the underlying ArrayBuffer is safely transferrable.
CryptoKey
PublicKey
publicKey
Buffer
ArrayBuffer
Generated using TypeDoc
Exports Ed25519 public
CryptoKey
toPublicKey
. IfpublicKey
is alreadyBuffer
, then this just returns it. The returned buffers is guaranteed to unpooled. This means the underlyingArrayBuffer
is safely transferrable.