Preparing search index...
The search index is not available
@bicycle-codes/crypto-util
@bicycle-codes/crypto-util
rsa
didToPublicKey
Function didToPublicKey
didToPublicKey
(
did
:
`
did:key:z
${
string
}
`
,
)
:
{
publicKey
:
Uint8Array
;
type
:
"rsa"
}
Convert the given DID string to a public key Uint8Array.
Parameters
did
:
`
did:key:z
${
string
}
`
Returns
{
publicKey
:
Uint8Array
;
type
:
"rsa"
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@bicycle-codes/crypto-util
Loading...
Convert the given DID string to a public key Uint8Array.