@bicycle-codes/crypto-util
Preparing search index...
ecc
publicKeyToDid
Function publicKeyToDid
publicKeyToDid
(
publicKey
:
CryptoKey
|
Uint8Array
<
ArrayBufferLike
>
,
)
:
Promise
<
`
did:key:z
${
string
}
`
>
Convert an ed25519 public key to a DID format string.
Parameters
publicKey
:
CryptoKey
|
Uint8Array
<
ArrayBufferLike
>
Returns
Promise
<
`
did:key:z
${
string
}
`
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@bicycle-codes/crypto-util
Loading...
Convert an ed25519 public key to a DID format string.