Exports Ed25519 private CryptoKey to PrivateKey If privateKey is already Buffer, then this just returns it. The returned buffers is guaranteed to unpooled. This means the underlying ArrayBuffer is safely transferrable.
CryptoKey
PrivateKey
privateKey
Buffer
ArrayBuffer
Generated using TypeDoc
Exports Ed25519 private
CryptoKey
toPrivateKey
IfprivateKey
is alreadyBuffer
, then this just returns it. The returned buffers is guaranteed to unpooled. This means the underlyingArrayBuffer
is safely transferrable.