Namespace: convert
did.cryptography.convert
Functions
ed25519ToX25519PrivateKeyMultibase
▸ ed25519ToX25519PrivateKeyMultibase(privateKey
): string
Parameters
Name | Type |
---|---|
privateKey | Buffer |
Returns
string
Defined in
packages/klayr-decentralized-identifier/dist/cryptography/convert.d.ts:3
ed25519ToX25519PublicKeyMultibase
▸ ed25519ToX25519PublicKeyMultibase(publicKey
): string
Parameters
Name | Type |
---|---|
publicKey | Buffer |
Returns
string
Defined in
packages/klayr-decentralized-identifier/dist/cryptography/convert.d.ts:2